Revision #9 has been created by Driss on Jan 31, 2011, 1:14:56 PM with the memo:
Corrected the bizRule typo
« previous (#8) next (#10) »
Changes
Title
unchanged
How to setup RBAC with a php file
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
Authentication
Content
changed
[...]
return array(
'reader' => array (
'type'=>CAuthItem::TYPE_ROLE,
'description'=>'Can only read a post',
'bizRules'=>'',
'data'=>''
),[...]
'type'=>CAuthItem::TYPE_ROLE,
'description'=>'Can post a comment',
'bizRules'=>'',
'data'=>''
),[...]
'reader','commentor'
),
'bizRules'=>'',
'data'=>''
)
);
```[...]