CodeIgniter Forums

Full Version: How should I build the ACL? dx-auth users help ...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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