Hi All, Recently started using web2py and python. I am developing a web application. The authorization scenario is like this:
There is a super user who can access anything. (Essentially he can create/update/delete categories apart from everything else) There is a category manager who can update the categories. (each category has specific settings) There there is a user who can view the data in a category. Now any user can be user for a category(say 1), manager for a different category(say 2). That means the user can see data for both 1 and 2 but can only modify settings pertaining to 2. He may not be aware of other categories 3,4. I plan to expose a menu/page where the user can see the categories and clicking on the item takes the user to the details (again with a settings link visible based on role) How do I go about using the existing auth. in web2py to achieve my goal? rAm i Think, i Wait, i Fast -- Siddhartha http://sodidi.ramjeeganti.com