User Management, Security and Access Control
Permalink
I have a client who is looking to build a security management console.
- Users are created and assigned a role
- then they are assigned to a store or store group
The user role will determine what they can and cannot do - view,edit,delete, edit/delete own, edit/delete all etc.
Has anyone built anything similar? or have any suggestions?
- Users are created and assigned a role
- then they are assigned to a store or store group
The user role will determine what they can and cannot do - view,edit,delete, edit/delete own, edit/delete all etc.
Has anyone built anything similar? or have any suggestions?
If you're talking about a single page approach, then the following might help - all this stuff is in the single page's controller file (again, task permissions are probably what you want... so if you can figure that out then it'd be a better solution).
In each action I have an if statement. If it fails then I redirect users to some other page. This is all based on User Groups. The following is an example of on_start, but this could be in any function.