Changes between Version 14 and Version 15 of S3/S3AAA
- Timestamp:
- 01/17/11 09:59:08 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3AAA
v14 v15 33 33 Access permissions are granted to roles, while a user gets permissions by assigning roles to him. Role assignment is stored in the {{{auth_membership}}} table, which is defined by the {{{AuthS3}}} class (in {{{modules/s3/s3aaa.py}}}). 34 34 35 At the start of every request, the IDs of all roles of the currently logged-in user are stored as list in {{{session.s3.roles}}} (in {{{models/00_utils.py}}}. In cases where the user is logged-in during the request (e.g. by HTTP simple auth), a refresh of this list is also triggered by the {{{login_bare()}}} method of {{{AuthS3}}}.35 At the start of every request, the IDs of all roles of the currently logged-in user are stored as list in {{{session.s3.roles}}} (in {{{models/00_utils.py}}}. In cases where the user is logged-in during the request (e.g. by HTTP Basic Auth), a refresh of this list is also triggered by the {{{login_bare()}}} method of {{{AuthS3}}}. 36 36 37 37 Roles can be managed in the {{{S3RoleManager}}} interface (Administration => User Management => Roles).