Do you need to check that the @user is an author AND that the post's author is the user? This seems redundant- if the post's author is the user, then it probably doesn't matter what the user's role is.