34k+
News
Guide
API
Wiki
Forum
Community
Places
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Extensions
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
Release Cycle
License
Team
Official Logos and Design
Login
Introducción al control de acceso basado en roles (RBAC)
Comparing
#7
with
#8
Revision #8 was created by
Juan Calvo
on Jan 11, 2011, 11:09:16 PM.
cambio en el código
« Previous (#7)
Content
[...]
),
array('allow',
'actions'=>array('create','update','admin','delete'),
'expression'=>'Yii::app()->user->checkAccess("adminFinanciero")',
// or
// 'roles'=>array('adminFinanciero'),
),
array('deny',
'users'=>array('*'),
),
[...]