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('*'),
),[...]