Changes between Version 3 and Version 4 of BluePrint/PublicPortal
- Timestamp:
- 03/27/12 00:52:10 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/PublicPortal
v3 v4 43 43 44 44 == Implementation == 45 <Leave open for a list of implementation> 45 The implementation involves taking advantage of the already built in web2py user roles and privileges. User groups can be created by the administrator at the time of the initial setup. 46 46 47 After that, once a user registers on a website he can be allocated a certain group on the basis of what he has requested, or a role that a member of higher role has assigned to him (assuming a total order exists between the roles, which is not a necessary assumption though) which will add an entry to the auth_membership. 48 49 After this, we can before any function have a wrapper to say that only people with roles 'A' and 'B' or with privileges 'X' or 'Y' can access the same function. 50 51 This works at granularity of two levels : 52 1. Groups 53 2. Privileges 47 54 == References == 48 55 * BluePrintVolunteer