This is the first library i have ever released for public ever (Including before CodeIgniter:O!), so please go easy!
This library is aimed at creating a simple to use, easy to manage ACL. The inspiration case from mx_acl which didn’t suit all my needs so i decided to start it again.
The XML file Format (acl.xml) is quite easy to understand as you can see here:
<hrefs><!--Unlimited URI's per rule-->
<allowed>4</allowed><!--Blocks based on user role-->
<redirect>true</redirect><!--Whether to redirect the user or simply show an error-->
<errormsg>You are not allowed to see this page.</errormsg><!--Show's the error to the user, either before or after redirecting.-->
<errormsg>You are not allowed to see this page.</errormsg>
Simple To Use
The ability to specify more than 1 link per rule. This enables you to block a larger number of URI’s without the need to create an extremely large ACL.
No silly script initialization
Automatically checks whether the user has permission to view the current page.
XML ACL enables higher control over users
Powerful XML ACL
How To Use:
Simply move the files from the zip file to your CodeIgniter application directory. Making sure to change your cache_path in your CodeIgniter config.php file to match the new location of your acl.xml.