update: remove show_forum permission

This permission is used the same as the `read_topic` permission.
This commit is contained in:
Roardom
2024-02-10 01:18:41 +00:00
parent fc92660444
commit f30dec4a0c
30 changed files with 37 additions and 131 deletions
-1
View File
@@ -151,7 +151,6 @@ class PostController extends Controller
$post = Post::find($id);
$topic = $post->topic()
->whereRelation('forumPermissions', [
['show_forum', '=', 1],
['read_topic', '=', 1],
['reply_topic', '=', 1],
['group_id', '=', $user->group_id],