Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]aresproject[/eluser]
Hi ya all, I'm a newbie in flexi auth and from the start I was very satisfied
with using flexi_auth. Kudos to "Rob Hussey"

I do have one concern though when defining privileges and groups of
a single user.

I am on a project with a lot of different modules working together.
and assigning a privilege to each user can be quite cumbersome since
every module needs a particular requirement based on what group
a user has and if he/she has privilege to access it. Basically not all
user has equal access rights
for ex.
Case 1: Admin_1 is in "Master Admin" GROUP but he has access to VIEW MODULE_A
Case 2: Admin_2 is in "Master Admin" GROUP but he has no access to VIEW module_A but has access to CRUD (create, read, update, delete) in MODULE_B.
"Admin_1 and Admin_2 since both are in 'Master Admin' GROUP have access to all ADMIN related modules"

My Objective is
1. If I create a user I would like to assign to his/her user_privilege table all the access
needed based on what group_id I assign to the user.
- I can then just optionally access his/her user_privilege table to define other privileges as needed.

Doing it this way an admin user can save time rather than assigning, let's say 1000 different privileges
to a single user.
I just don't know if Flexi_auth has already a feature like this and I was not just successful in finding it.
I would really appreciate if someone can point me on the right direction.

Thank ya all, and have a nice day.


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 05-14-2013, 06:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB