Changes between Version 73 and Version 74 of BluePrintAuthorization
- Timestamp:
- 06/20/10 23:34:56 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v73 v74 3 3 Alternative Proposal: [wiki:BluePrintAuthorizationB BluePrint for Authorization] 4 4 == Roles == 5 * Roles are stored in the {{ auth_group}}.5 * Roles are stored in the {{{auth_group}}}. 6 6 * These have no links to the groups in {{{pr_group}}}. 7 7 * We are currently adopting a simplistic 3-tier approach of Person -> Role -> Permissions. 8 8 * 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}}}~~ 11 11 In {{{models/00_utils.py}}}: 12 12 {{{