Wiki

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

Yet another implementation of CPhpAuthManager.

Created about a year ago by seenivasanHow-tos3 comments – viewed 8,573 times – ( +8 / -1 ) – version 1.1
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 main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

CPhpAuthManager - how it works, and when to use it

Created 3 years ago by dckurushinHow-tos5 comments – viewed 19,440 times – ( +1 / -4 ) – version 1.1
Before reading this article, you should first learn this How to setup RBAC with a php file