Access control model
Enclave uses a layered model. A user must satisfy all of the following to access a file:- Authentication — valid session token
- Org Unit membership — member of the Org Unit that owns the room (explicit; not inherited from role)
- Room membership — explicitly added to the room with a role
- Clearance level — effective clearance ≥ file classification
Organisation roles
Org Unit membership
Org Units gate which rooms a user can be a member of. A user without Org Unit membership cannot be added to any room that Org Unit owns. Key properties:- Adding a user to an Org Unit does not automatically grant them room access — room membership is a separate, explicit grant
- Users can belong to multiple Org Units simultaneously
- Admin roles do not grant implicit file access — admins still need explicit Org Unit membership for file access
- Sharing to a parent Org Unit propagates downward to members of child units; sharing to a child does not propagate upward
Room roles
Within a room, members have one of three roles:
External guests invited to a room follow the same Viewer/Contributor semantics, with three extra gates: the room’s Allow external guest uploads policy must be enabled, the guest’s invitation must carry the per-invitee upload grant, and every external upload is held for room-admin approval before other members can see it. See Rooms → External guest access.
Clearance levels
Files carry a classification (C1–C4). Users carry a clearance level. Access is granted only whenuser clearance ≥ file classification.
Clearance can be overridden per user in Organisation → Users → Set Clearance.
Data sharing policies
Administrators control which classification levels can be shared, and to which targets (tenant, org unit, user). Policy is set in Security → Policies → Data Sharing. The policy evaluates three levels in order — each can only add restrictions, never loosen them:- Tenant policy — master on/off switch for all internal and external sharing
- Classification policy — per-level (C1–C4) rules: block by target type, require expiry, require PIN
- Per-type rules — additional restrictions per Org Unit type label (e.g. block sharing to “Domain” units at C3)
Access reviews
Org Unit memberships can be periodically reviewed through an Access Review campaign:- An admin starts a review — Enclave snapshots all current memberships
- Each membership is marked as pending
- Reviewers approve (keep) or revoke each membership
- Revoked memberships are removed immediately
- The review is closed — remaining pending entries are auto-approved