Changes
Title
unchanged
Troubleshooting Rights Extension
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
extension, Rights, RBAC
Content
changed
[...]
```php
'rights'=>array(
'userClass
' => 'AnotherName',
),
```[...]
Troubleshoot
------------
**Problem**
Get
Need to change the table name for the sake of consistency
**Solutions**
Add the code to 'authManager' in the Yii configuration files:
```php
'authManager' => array(
'class' => 'RDbAuthManager',
'assignmentTable' => 'authassignment',
'itemTable' => 'authitem',
'itemChildTable' => 'authitemchild',
'rightsTable' => 'rights',
),
```
<hr/>
**Problem**
Got message:
Filter "rights" is invalid. Controller "XyzController" does not have the filter method "filterrights"."
**Solution**
You must extend the controller class from RController. The easiest way is change the code at /protected/components/Controller.php
```php
class Controller extends RController
```
<hr/>
**Problem**
Got message:
"Property "CWebApplication.rights" is not defined."
message.
**Solution**[...]
<hr/>
**Problem**
The Guest seems like not working
.
**Solution**[...]
```
<hr/>