Webmaster's Community

Designing and Development => Open Source => Yii PHP Framework Support => Topic started by: phpdeveloper on September 18, 2012, 10:26:10 AM

Title: how to define superUserRole in yii
Post by: phpdeveloper on September 18, 2012, 10:26:10 AM
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: [Select]
Property "RightsModule.superUserRole" is not defined.
i have already made changes in my  configuration   file and Rights variables also like this

Code: [Select]
'rights'=>array(
'superUserRole'=>'Admin',   
'defaultRoles'=>array('Guest'),
'superUsers'=>array(1=>'admin'),
'userClass'=>'User' ,   
'usernameColumn'=>'username' ,
'enableBizRule'=>true ,   
'enableBizRuleData'=>false , 
'install'=>false,   
'layout'=>'column1', 
),
 
 can some one tell me how to fix this issue.
Title: how to define superUserRole in yii
Post by: phpdeveloper on September 18, 2012, 10:27:28 AM
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: [Select]
Property "RightsModule.superUserRole" is not defined.
i have already made changes in my  configuration   file and Rights variables also like this

Code: [Select]
'rights'=>array(
'superUserRole'=>'Admin',   
'defaultRoles'=>array('Guest'),
'superUsers'=>array(1=>'admin'),
'userClass'=>'User' ,   
'usernameColumn'=>'username' ,
'enableBizRule'=>true ,   
'enableBizRuleData'=>false , 
'install'=>false,   
'layout'=>'column1', 
),
 
 can some one tell me how to fix this issue.
Title: Re: how to define superUserRole in yii
Post by: rahul on September 19, 2012, 05:09:24 AM
i think superUserRole is the variable for your right you can check you check your rights access method
Hope this will help you