CodeIgniter Forums
Roles based Access Control (RBAC) / User Groups & Permission using MVC not HMVC - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Roles based Access Control (RBAC) / User Groups & Permission using MVC not HMVC (/showthread.php?tid=75850)



Roles based Access Control (RBAC) / User Groups & Permission using MVC not HMVC - manigopal - 03-23-2020

Guys, i wanted to have permission for menus / pages for my admin panel.

i wanted to have a dynamic control for this so that at future Admin user can create / modify the new role or exisiting roles permissions.

I follow MVC & not HMVC,

i have already implemented users,

table structure @ https://ibb.co/JjbXW6t

Users Roles and Permissions should be like this @ https://ibb.co/wN3R8sp


RE: Roles based Access Control (RBAC) / User Groups & Permission using MVC not HMVC - jreklund - 03-23-2020

If you are on CodeIgniter 3 you can use Community Auth ACL, or take inspiration from it.