mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-29 14:59:30 -05:00
update: remove show_forum permission
This permission is used the same as the `read_topic` permission.
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user