How to setup RBAC with a php file

Comparing #8 with #9

Revision #9 was created by Driss Driss on Jan 31, 2011, 1:14:56 PM.

Corrected the bizRule typo

Content

[...]
return array(
'reader' => array (
'type'=>CAuthItem::TYPE_ROLE,
'description'=>'Can only read a post',
'bizRule
s'=>'',
'data'=>''
),
[...]
'type'=>CAuthItem::TYPE_ROLE,
'description'=>'Can post a comment',
'bizRule
s'=>'',
'data'=>''
),
[...]
'reader','commentor'
),
'bizRule
s'=>'',
'data'=>''
)
);
```
[...]