资 源 简 介
Introduction:
HRBAC -> Hierarchical Role Based Access Control
"Hrbac" module is an enhancement of Yii RBAC feature.
* It reduces the number of db queries when performing an access check
* Add conditions (boolean tests) to auth assignments and auth relationships
Hopefully this is simpler than using bizrules and might help avoid
bizrules altogether (so no php needed in database).
* It provides the UI to assign roles and manage the auth items.
* Quick and easy setup of route access control. Do not need to modify any code
other than a couple lines in index.php and the config file main.php.
Using HRBAC : General
* There are 3 types of authorization items. Roles, Operations or Actions, and
Tasks (or Groups of Operations). Roles may contain other auth items and Tasks
or Op Groups may contain other groups or ops. You can"t create a circular
association though.
* You may assign a