FIX: TL4 users can see their deleted posts (PR #13364)

They were able to delete their posts, but then could not recover them because they did not have the permissions to see them.

GitHub

this logic is getting a bit too complicated … instead maybe?

return true if is_moderator || is_category_group_moderator?(post.topic.category)
return true post.deleted_at.present? && post_deleted_by_id == @user&.id
false

Since this is specifically about TL4 for extra safety I would recommend checking for TL4