46 lines
1.5 KiB
Markdown
Executable File
46 lines
1.5 KiB
Markdown
Executable File
Assignment
|
|
---------
|
|
Assignment menu used for grant or revoke role to/from user.
|
|
|
|

|
|

|
|
|
|
Route
|
|
-----
|
|
Route is special `permission`. Its related with application route. Because `route` is `permission`,
|
|
so you can assign it to another `permission` or `role`.
|
|
By default, listed route is automatic read from application structure.
|
|
Click button '>>' to save it and button '<<' to delete.
|
|
|
|
If route that you need not avaliable in list. You can create it manually. You can also create route
|
|
with extra parameter. Use `&` to sparate main route with parameter. E.g. `site/page&view=about`.
|
|
|
|

|
|
|
|
Role and Permission
|
|
-------------------
|
|
This sesction used for manage role/permission. You can create, delete or update role/permission from this menu.
|
|
Adding and remove child of role can be doing there.
|
|
|
|

|
|

|
|

|
|

|
|
|
|
Rule
|
|
----
|
|
To using rule, define your own rule class. It should be inherited from
|
|
[`yii\rbac\Rule`](http://www.yiiframework.com/doc-2.0/yii-rbac-rule.html).
|
|
See [Rules](http://www.yiiframework.com/doc-2.0/guide-security-authorization.html#using-rules) for more information.
|
|
Add rule to `authManager` by provide rule classname.
|
|
|
|

|
|
|
|
More...
|
|
--------
|
|
|
|
- [**User Management**](user-management.md)
|
|
- [**Using Menu**](using-menu.md)
|
|
- [**Basic Configuration**](configuration.md)
|
|
|