Changes between Version 3 and Version 4 of BluePrint/PublicPortal


Ignore:
Timestamp:
03/27/12 00:52:10 (13 years ago)
Author:
abhishekgupta92
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/PublicPortal

    v3 v4  
    4343
    4444== Implementation ==
    45 <Leave open for a list of implementation>
     45The 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.
    4646
     47After 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
     49After 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
     51This works at granularity of two levels :
     521. Groups
     532. Privileges
    4754== References ==
    4855* BluePrintVolunteer