I am in the middle of a project that has evolved in the direction in which it needs some kind of RBAC, integrated with authentication, but with enhanced functionality (setting a “cap” or “restrictions on users based on their role / group”) An example is the SaaS site with paid and free plans such as GitHub, Basecamp, etc.
I have already tested:
Ion Auth - http://github.com/benedmunds/CodeIgniter-Ion-Auth
Wolf Auth - http://github.com/Vheissu/Wolfauth---A-Codeigniter-Auth-Library
Perm Spark - http://getsparks.org/packages/perm/versions/HEAD/show
Codeigniter-RBAC - https://github.com/pdiddy/CodeIgniter-RBAC
and some others (one for all: a bonfire). Some of them have authentication features only, some lack auth, but provide RBAC. None of them use or mention the possibility of user restriction.
I started to develop a similar library myself (trying not to interrupt the Ion Auth naming because I am leaving there), but considering that I just finished planning the database schema and implementing it in the migration, I think it's better to use something ready and tested (if it exists) instead of reinventing the wheel. Does anyone know a library to perform these specific tasks?
I work with CI: 2.1.0 + HMVC, thinking of adding DataMapper or RedBean for this specific purpose.