Difference between #7 and #8 of
Introducción al control de acceso basado en roles (RBAC)

Revision #8 has been created by Juan Calvo on Jan 11, 2011, 11:09:16 PM with the memo:

cambio en el código
« previous (#7)

Changes

Title unchanged

Introducción al control de acceso basado en roles (RBAC)

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

rbac, authentication, control, acceso, basado, roles, tareas, operaciones, auth, AuthManager, CDbAuthManager

Content changed

[...]
),
array('allow',
'actions'=>array('create','update','admin','delete'),

'expression'=>'Yii::app()->user->checkAccess("adminFinanciero")',
    // or     // 'roles'=>array('adminFinanciero'),

),
array('deny',
'users'=>array('*'),
),
[...]
15 1
9 followers
Viewed: 74 600 times
Version: 1.1
Category: Tutorials
Written by: Juan Calvo
Last updated by: Juan Calvo
Created on: Dec 14, 2010
Last updated: 13 years ago
Update Article

Revisions

View all history