Designing and Development > Yii PHP Framework Support
how to define superUserRole in yii
(1/1)
phpdeveloper:
HI all ,
i am using rights module to create admin panel in my application i configured most of these errors now its quite ok .But the problem is that when i try to login to the page it shows me error
--- Code: ---Property "RightsModule.superUserRole" is not defined.
--- End code ---
i have already made changes in my configuration file and Rights variables also like this
--- Code: --- 'rights'=>array(
'superUserRole'=>'Admin',
'defaultRoles'=>array('Guest'),
'superUsers'=>array(1=>'admin'),
'userClass'=>'User' ,
'usernameColumn'=>'username' ,
'enableBizRule'=>true ,
'enableBizRuleData'=>false ,
'install'=>false,
'layout'=>'column1',
),
--- End code ---
can some one tell me how to fix this issue.
phpdeveloper:
HI all ,
i am using rights module to create admin panel in my application i configured most of these errors now its quite ok .But the problem is that when i try to login to the page it shows me error
--- Code: ---Property "RightsModule.superUserRole" is not defined.
--- End code ---
i have already made changes in my configuration file and Rights variables also like this
--- Code: --- 'rights'=>array(
'superUserRole'=>'Admin',
'defaultRoles'=>array('Guest'),
'superUsers'=>array(1=>'admin'),
'userClass'=>'User' ,
'usernameColumn'=>'username' ,
'enableBizRule'=>true ,
'enableBizRuleData'=>false ,
'install'=>false,
'layout'=>'column1',
),
--- End code ---
can some one tell me how to fix this issue.
rahul:
i think superUserRole is the variable for your right you can check you check your rights access method
Hope this will help you
Navigation
[0] Message Index
Go to full version