Wiki

Articles tagged with "accessrules", sorted by date (updated)X
Displaying 1-2 of 2 result(s).

Configuring controller access rules to default-deny

Updated about a year ago by nsandenHow-tos3 comments – viewed 64,234 times – ( +11 ) – version 1.1
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.

Simple access control

Updated 2 years ago by szfjozsefTutorials4 comments – viewed 31,832 times – ( +4 / -8 ) – version 1.1
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.