1
0
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:
David Sevilla Martín
2017-05-24 08:36:56 -04:00
committed by Toby Zerner
parent 305076814f
commit e64dc4ea45
5 changed files with 24 additions and 2 deletions

View File

@@ -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'],