Refactor checks for comment ownership.
Create a validator that checks if user is allowed to edit current comment, use it for such a check when updating, deleting and undoing deletes.
Loading
Please register or sign in to comment
Create a validator that checks if user is allowed to edit current comment, use it for such a check when updating, deleting and undoing deletes.