Rbac for Yii
Requirements ¶
requirements of using this extension (e.g. testing in Yii 1.1.3)
Usage ¶
add config to main.php file, follow it
modules => array(
.......,
'rbac' => array(
'layout' => 'main',
'disabledScanModules' => array('gii'),
'userTable' => '{{users}}',
'userTableId' => 'id',
'userTableName' => 'username',
'pageSize' => 20,
'debug' => false,
'language' => 'zh_cn',
'cWebUserStateKeyPrefix' => 'user',
),
);
Resources ¶
...external resources for this extension...
User Contributed Notes 2
demo page
i am sorry, busy now. i will provide a demo page in new year holiday.
Re: Demo Page
is it possible to demo page, looking for fully automated RBAC module.
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.