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