Changes between Version 16 and Version 17 of UserGuidelines/Admin/Permissions
- Timestamp:
- 04/08/20 13:33:14 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelines/Admin/Permissions
v16 v17 46 46 47 47 == Control access to Records == 48 Records can be owned by individuals or Organisations (including Branches, Teams & Facilities). 48 Records can have a Realm - the Realm Entity can be an individual Person, a Group, an Organisation (including Branches, Teams & Facilities), or other Person Entity (PE). 49 50 You can see the Person Entity Model here: 51 * [wiki:DeveloperGuidelines/PersonEntityModel Person Entity Model] 49 52 50 53 This allows control of access by Realm - so staff of 1 Organisation can see their records of a certain type yet not those for another Organisation in the same database. … … 57 60 NB This also requires an ACL to a role other than Anonymous, Authenticated or Admin. Resources are never realm-restricted for these 3 roles. 58 61 59 This functionality can be extended to support Hierarchy so that data restr cited to a single organisation can be amde avaialble to all branches of that Organisation (however data owned by the Branch is by default only visible to members of the Branch):62 This functionality can be extended to support Hierarchy so that data restricted to a single organisation can be made available to all branches of that Organisation (however data owned by the Branch is by default only visible to members of the Branch): 60 63 {{{ 61 64 settings.security.policy = 7: Apply Controller, Function, Table ACLs and Entity Realm + Hierarchy 62 65 }}} 66 Note that if an entity is specified on the ACL, then that is NOT hierarchical...only the Entity on the auth_membership record is. 63 67 64 68 This functionality can be extended yet further by allowing organisations to share their private data with selected individuals, teams, facilities and organisations that they wish to (this is done by delegating the access role to that other entity, as they can now decide which of their people get the access):