example of a moderator class
This commit is contained in:
parent
2a8643d06e
commit
1c7bb653de
1 changed files with 8 additions and 0 deletions
|
@ -87,6 +87,14 @@ new UserClass("anonymous", "base", array(
|
|||
"create_image_report" => True,
|
||||
));
|
||||
|
||||
For a moderator class, being a regular user who can delete images and
|
||||
comments:
|
||||
|
||||
new UserClass("moderator", "user", array(
|
||||
"delete_image" => True,
|
||||
"delete_comment" => True,
|
||||
));
|
||||
|
||||
For a list of permissions, see core/userclass.class.php
|
||||
|
||||
|
||||
|
|
Reference in a new issue