ctms/vendor/mdmsoft/yii2-admin/docs/guide/avaliable-menu.md
2025-04-10 23:19:13 +08:00

1.5 KiB
Executable File

Assignment

Assignment menu used for grant or revoke role to/from user.

Assignment Assignment

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.

Route

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.

Role Create Role Add Child Update Permission

Rule

To using rule, define your own rule class. It should be inherited from yii\rbac\Rule. See Rules for more information. Add rule to authManager by provide rule classname.

Rule

More...