Difference between #7 and #8 of
Simple RBAC

Revision #8 has been created by Stageline on Aug 24, 2012, 1:01:47 PM with the memo:

action->actions
« previous (#7)

Changes

Title unchanged

Simple RBAC

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Simple RBAC, Role based access control, roles, Authentication, Role based menu

Content changed

[...]
public function accessRules()
{
return array(
array('allow',
'action
s'=>array('admin'),
'roles'=>array('staff', 'devel'),
),
array('deny', // deny all users
'users'=>array('*'),
),
[...]
33 1
43 followers
Viewed: 118 462 times
Version: 1.1
Category: Tutorials
Written by: hasanavi
Last updated by: Stageline
Created on: Apr 29, 2012
Last updated: 11 years ago
Update Article

Revisions

View all history