|Classes of Rogério Taques||>||CodeIgniter ACL User Management||>||README.md||>||Download|
CI ACL 1.0 beta
Implements an Access Control List for your applications written with Codeigniter.
You should use it in order to help you control which path the user can (or cannot) access.
Download this project, and copy its content into your Codeigniter app, under
After "instal" it on your app, then you'll need to setup all acl definitions.
All those definitions should be placed in
Finally, in order to test if given path is valid or not, do as following:
There some methods that can be used on runtime:
is_public( path : string ) : boolean
Return TRUE when given path is set as 'public', otherwise, return FALSE.
is_allowed( path: string, role : string ) : boolean
Return TRUE when given role is set as 'true' for given path, otherwise, return FALSE.
set( path : string, config : array ) : void
This method is used to add new ACL rules that are not present on
It's very useful when you're storing your ACL rules on database.
Report bugs, make suggestions and get involved on contributions.
Feel free to get in touch. ;)