Difference between
#7 and
#8 of
Simple RBAC
Revision #8 has been created by Stageline on Aug 24, 2012, 1:01:47 PM with the memo:
action->actions
« previous (#7)
Changes
Title
unchanged
Simple RBAC
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Simple RBAC, Role based access control, roles, Authentication, Role based menu
Content
changed
[...]
public function accessRules()
{
return array(
array('allow',
'actions'=>array('admin'),
'roles'=>array('staff', 'devel'),
),
array('deny', // deny all users
'users'=>array('*'),
),[...]