Hello,
I’m trying to override some of the CWebUser class methods (beforeLogin…) & I understand that in the main.php config file, I have to have the following:
‘components’=>array(
'user'=>array(
'class'=>'WebUser', //my own overriden class
),
However I have installed the module Rights to help me with the RBAC of my application & Rights uses it’s own application component class as follows:
‘components’=>array(
'user'=>array(
'class'=>'RWebUser', //Allows super users access implicitly.
),
My question is:
Is there a way to use both classes ? I tried : ‘class’=>array(…) and ‘class’=>‘class1’,‘class2’ … in vain.
Thank you in advance.