Difference between #9 and #10 of
How to setup RBAC with a php file

Revision #10 has been created by Kranklin on Feb 25, 2011, 7:57:15 PM with the memo:

Corrected typo
« previous (#9) next (#11) »

Changes

Title unchanged

How to setup RBAC with a php file

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

Authentication

Content changed

[...]
Yii::app()->user->logout(); //logout the user
$this->redirect(Yii::app()->homeUrl); //redirect the user
}
```

## Ad
iditional/optional settings: ##

In your auth.php file you can use the following parameters:
- __`type`__ => role,task,operation
- __`description`__ => describe the type
- __`bizRule`__ => apply business rule
[...]
24 4
21 followers
Viewed: 68 029 times
Version: 1.1
Category: How-tos
Written by: bettor
Last updated by: Stageline
Created on: Feb 7, 2010
Last updated: 5 years ago
Update Article

Revisions

View all history