Hi, I am trying to implement a user role based system.

I want to change views based on user roles to restrict certain users from 
accessing specific controllers.
Userrole -> 1,2,3
Controller -> A,B,C,D

now Userrole 1 can access A and B, Userrole 2 can acces A,C and Userrole 3 
can access A,D

Can anyone help me understand the implementation with an example. I am 
searching for an user role bases example for sometime now but nowhere to be 
found.

Please help. 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to