Wiki

Articles tagged with "accessrules"X
Displaying 1-2 of 2 result(s).

Simple access control

Created 11 months ago by szfjozsefTutorials4 comments – viewed 14,010 times – ( +2 / -6 )
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

Configuring controller access rules to default-deny

Created 2 years ago by Steve FriedlHow-tos1 comment – viewed 29,370 times – ( +10 )
Starting with the blog tutorial, Yii developers are familiar with the notion of access rules defined in the controller, where the actions are allowed or denied depending on the user's name or role.