Author Topic: how to define superUserRole in yii  (Read 10030 times)

phpdeveloper

  • Newbie
  • *
  • Posts: 39
how to define superUserRole in yii
« 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.

phpdeveloper

  • Newbie
  • *
  • Posts: 39
how to define superUserRole in yii
« Reply #1 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.

rahul

  • Newbie
  • *
  • Posts: 16
Re: how to define superUserRole in yii
« Reply #2 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

 

X

Do you know?

By participating in our community you can get free top level domain as well learn about Search Engine Optimization, Server management and more..
Join Now!