Changes between Version 13 and Version 14 of S3/S3AAA/OrgAuth
- Timestamp:
- 09/03/12 13:53:24 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3AAA/OrgAuth
v13 v14 41 41 == Extended Restriction of Access == 42 42 43 Any role of a user are always only applied to the realms the role is restricted to.43 Any role of a user is always only applied to the realms the role is restricted to. That is, the user can exercise permissions of role X only on the records of the entity he has this role '''for'''. E.g. a user who is "HR Manager" for OrgA can exercise the "HR Manager" permissions only on records "owned" by OrgA. 44 44 45 If there is no restriction in the role assignment , then the role applies for all records regardless of their owner entity (=site-wide role).45 If there is no restriction in the role assignment (for_pe=0), then the role applies for all records regardless of their owner entity (=site-wide role). 46 46 47 47 The AUTHENTICATED, ANONYMOUS and ADMIN roles can not be restricted to realms, i.e. the permissions of these roles always apply for all records. 48 48 49 '''NOTE:''' It is possible to define a dynamic realm in a role assignment (for_pe=None). This "dynamic realm" is the realm of all entities the user is directly affiliated with at the time of the request. This practice can though be dangerous and my be inappropriate for most multi-tenancy settings, because the user would automatically receive this role for any entity they will ever join in future - without that entity being anyhow in control of this. However, in certain deployments, this may still be convenient. 49 50 == Delegations of Permissions == 50 51