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') {
hello Admin
} else if (userTypeId == 'Member') {
hello member
}
How would you do this using CodeIgniter?