If you haven’t checked out KhACL yet I’ll just suggest one more time that you take a peak. I just wonder if you’re reinventing the wheel here and doing it inefficiently (a wobbly wheel).
The KhACL approach has roots from phpGACL. Here’s a link to an admin panel:
http://opensourceemr.com:2089/phpgacl/admin/acl_admin.php
There’s a link to the manual there as well to describe the concept.
This doesn’t mean your library is a total scrub. The ACL is just one facet of the library. All the user admin stuff is still useful. I haven’t looked at your library at all, but if you keep the parts loosely coupled then it offers the ability to swap in other ACL libraries as well (zend acl, etc.).
Backend Pro (in these forums) has an example implementation of KhACL and it’s decoupled from the auth management class (should you want to compare notes).
Thank you for letting me know about this. I didn’t know about ACL thing before.
Backend Pro seems very good (I didn’t realize there is this library when i search before).
Actually this library is for my coming project, and this library is good enough to fulfill my needs, so i’m gonna stick for this library, while i’m gonna look at ACL in the future.
I release it to public, because looks like many people searching for a auth library and compatible with latest CI (Including me in the past). So i think it may helpful for someone.
EDIT: i realized the power of ACL now, those who need the more advanced multi user and permission than this library, i suggest you to look at php gacl website.