Wiki

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

Yet another implementation of CPhpAuthManager.

Created about a month ago by seenivasanHow-tos2 comments – viewed 2,810 times – ( +4 )
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 about a year ago by dckurushinHow-tos5 comments – viewed 12,300 times – ( +1 / -3 )
Before reading this article, you should first learn this How to setup RBAC with a php file