-
Notifications
You must be signed in to change notification settings - Fork 59
3. Roles
Podium initializes the authManager component with the full structure of permissions and roles as the default option.
In case you already set this component set 'rbacComponent' => 'inherit'
in the module configuration. This way Podium can add new definitions there and not interfere with the main app.
Only DbManager version of authManager is supported.
There are three roles available.
This is the default role for registered users.
- can read and write posts,
- can create new thread,
- can edit and delete their own posts,
- can browse all forums and categories,
- can modify their profile,
- can send messages to other users,
- can view other Members,
- can ignore and befriend other users,
- can upvote and downvote posts,
- can report posts.
Member can be promoted to Moderator by Administrator (and demoted as well).
- can do everything Member can do.
Administrator can assign Moderator to a forum. For this assigned forum Moderator:
- can edit, move and delete all posts,
- can pin, lock, move and delete all threads.
Administrator is Podium owner, manager and keeper.
- can do everything Member can do,
- can do everything Moderator can do for all forums.
In addition, Administrator:
- can promote, demote, ban and delete users,
- can create new forums and categories,
- can edit and delete forums and categories,
- can change Podium settings.
Users that are not signed in are called Guests.
- can read posts in forums and categories visible for Guests,
- can view Members (this can be changed in settings).
If, for some strange reason, there is a need to add RBAC rules in other way than through Installation process you can run the following console command:
php /path/to/your/application/yii podium/rbac
yii2-podium | Yii 2 Forum module | Basic Installation | Advanced Installation