mirror of
https://github.com/flarum/core.git
synced 2025-10-12 07:24:27 +02:00
Add viewUserList permission (#1190)
This commit is contained in:
committed by
Toby Zerner
parent
305076814f
commit
e64dc4ea45
@@ -291,9 +291,10 @@ class InstallCommand extends AbstractCommand
|
||||
// Guests can view the forum
|
||||
[Group::GUEST_ID, 'viewDiscussions'],
|
||||
|
||||
// Members can create and reply to discussions
|
||||
// Members can create and reply to discussions, and view the user list
|
||||
[Group::MEMBER_ID, 'startDiscussion'],
|
||||
[Group::MEMBER_ID, 'discussion.reply'],
|
||||
[Group::MEMBER_ID, 'viewUserList'],
|
||||
|
||||
// Moderators can edit + delete stuff
|
||||
[static::MOD_GROUP_ID, 'discussion.delete'],
|
||||
|
Reference in New Issue
Block a user