Changes between Version 73 and Version 74 of BluePrintAuthorization


Ignore:
Timestamp:
06/20/10 23:34:56 (14 years ago)
Author:
Fran Boon
Comment:

Roles cached in session is completed & made use of

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorization

    v73 v74  
    33Alternative Proposal: [wiki:BluePrintAuthorizationB BluePrint for Authorization]
    44== Roles ==
    5  * Roles are stored in the {{auth_group}}.
     5 * Roles are stored in the {{{auth_group}}}.
    66 * These have no links to the groups in {{{pr_group}}}.
    77 * We are currently adopting a simplistic 3-tier approach of Person -> Role -> Permissions.
    88 * We consider that the 4-tier approach of Person -> Group -> Role -> Permissions is unnecessarily complex for users, despite giving strong flexibility & the potential for advanced admins to move persons into roles in bulk & including future members of the group.
    9  * Roles for the currently logged-in user are cached in the session for easy access throughout Model, Controllers & Views.
    10   * Replace {{{auth.has_membership(group)}}} in default modules menu in {{{01_modules.py}}}
     9 * ~~Roles for the currently logged-in user are cached in the session for easy access throughout Model, Controllers & Views~~.
     10  * ~~Replace {{{auth.has_membership(group)}}} in default modules menu in {{{01_modules.py}}}~~
    1111In {{{models/00_utils.py}}}:
    1212{{{