Showing 1-12 of 12 items.

How to use bizRules in standard accessControl filter

Created 13 years ago by Maciej Liżewski Maciej Liżewski, updated 12 years ago by Maciej Liżewski Maciej Liżewski. 8 comments

I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

3 0
8
Viewed: 23 882 times
Version: 1.1
Category: How-tos

Yet another implementation of CPhpAuthManager.

Created 13 years ago by seenivasan seenivasan, updated 13 years ago by seenivasan seenivasan. 3 comments

In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at ma...

5 1
7
Viewed: 22 604 times
Version: 1.1
Category: How-tos

ACL and RBAC

Created 14 years ago by zeroByte zeroByte, updated 14 years ago by kevinkorb kevinkorb. 0 comments

This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obs...

0 0
3
Viewed: 36 806 times
Version: 1.1
Category: How-tos

Getting to Understand Hierarchical RBAC Scheme

Created 15 years ago by daemons daemons, updated 11 years ago by rAWTAZ rAWTAZ. 15 comments

Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure a...

47 0
56
Viewed: 136 272 times
Version: 1.1
Category: Tutorials