CodeIgniter Forums
How should I build the ACL? dx-auth users help ... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: How should I build the ACL? dx-auth users help ... (/showthread.php?tid=22401)



How should I build the ACL? dx-auth users help ... - El Forum - 09-08-2009

[eluser]CARP[/eluser]
Hi guys
I'm using dx auth library, and so far I didn't have any trouble with it. I'm doing just a simple "logged-in" validation

Now, I need to administer users, groups, access levels.

1)
So, how could I build a groups/users/permissions/etc. easily?
I mean, don't want to build 100 controllers/models/views just for making the users admin interface

2)
How is supposed I should control the user level/access/etc. in the controllers and then to define if user has permission?

3)
What If I want to restrict permissions for each controller's functions? For example, to allow x user to call site.com/client/add but not site.com/client/delete

Thanks a lot
Hope you've understood my question