How can I implement an ACL library? What is the best way for using ACL for user roles? In standard PHP, I\'d write code like this:
if (userTypeId == \'Admin\') {
You can find lot of links for tutorial while searching in google.
In SO also, how to use this simple acl library into codeigniter