Changes between Version 2 and Version 3 of BluePrintAuthorizationB
- Timestamp:
- 06/20/10 14:24:22 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorizationB
v2 v3 3 3 == General model == 4 4 5 Authorization is implemented for :5 Authorization is implemented for the following methods: 6 6 7 7 - module access … … 13 13 14 14 - if a method is not restricted, then it is accessible for everyone 15 - if a method is restricted, then access must be explicitly granted, otherwise access is declined (Allow=>Deny order)15 - if a method is restricted, then access must be explicitly granted, otherwise its declined (Allow=>Deny order) 16 16 17 17 Permissions are assigned to roles (not to individual users): … … 20 20 - admin role is auth_group 1 (cannot be modified) 21 21 - all methods on everything are allowed for members of the admin role 22 22 23 - roles are assigned to users by auth_membership 23 - roles can be created after deployment 24 - this can happen either through admin UI or implicitly (no admin interaction) 25 - it must be possible to log this 26 - additional roles can be created after deployment 27 - this will usually happen implicitly, i.e. not through admin UI 28 - does not require a generic UI solution 24 29 - roles of the actual user are re-read from the DB and stored in the session once per HTTP request 30 - caching of this re-reading needs a proper method for cache invalidation on update notification 31 - do not implement caching unless it really makes us performance problems 25 32 26 33 There are two pseudo-roles for record access: