Revision #7 has been created by Juan Calvo on Jan 11, 2011, 11:08:42 PM with the memo:
cambio en el código
« previous (#5) next (#8) »
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
[...]
'actions'=>array('view'),
'users'=>array('@'),
),
array('allow',
'actions'=>array('create','update','admin','delete'),
'expression'=>'Yii::app()->user->checkAccess("adminFinanciero")',
// or
// 'roles'=>array('adminFinanciero'),
),
array('deny',
'users'=>array('*'),
),
);
}[...]