You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating user roles will allow the user with administrative rights to change the balance and edit the information of other users.
UI:
• Clients -
• Administrator -
Data Structure:
Edit:
Add:
Create 4 new tables with migration from previous admin module Yii2-RBCA.
auth_item - this table stores roles and permissions.
auth_item_child - inheritance.
auth_assignment - position.
auth_rule - class rule names.
Logic or Flow information:
The text was updated successfully, but these errors were encountered:
After you downloaded and configured Yii2-rbac, the last thing you need to do is updating your database schema by applying the migration:
Run this command:
When you finished with configuraion do this steps:
Open terminal in you project folder
Run this command to create basic roles: php yii roles/create-basic-roles
Now you need assign role to some user.
For this run this command and follow to instructions: php yii roles/assign-role-to-user
If you want remove some role from some user.
Run this command and follow to instructions: php yii roles/revoke-role-from-user
Now you can login in website.
Creating user roles will allow the user with administrative rights to change the balance and edit the information of other users.
UI:
• Clients -
• Administrator -
Data Structure:
Edit:
Add:
Create 4 new tables with migration from previous admin module Yii2-RBCA.
auth_item - this table stores roles and permissions.
auth_item_child - inheritance.
auth_assignment - position.
auth_rule - class rule names.
Logic or Flow information:
The text was updated successfully, but these errors were encountered: