Document access control: define operations, inheritance, and revocation
Model allowed actions, inheritance, tenant scope, policy changes, and direct endpoint enforcement with testable decisions.

Express document authorization as a matrix of business roles and operations, then map each decision to an enforcing service. Include tenant scope, folder moves, search, exports, active sessions, and support access. Test denied actions directly; hiding a control in the editor does not establish the server boundary.
Define operations and authorities
List the actions your application and editor expose, including administrative and background operations. Assign allowed actions to business roles and map those roles to the controls the selected platform actually supports. Note any unsupported distinction instead of assuming a hidden button creates a security boundary. Identify the endpoint or service that authorizes each operation. Document ownership and delegation rules, including who can add collaborators or transfer a document. A permission matrix should describe business intent first, then its implemented enforcement, so reviewers can see where the architecture relies on procedure rather than a technical control.

Make unsupported distinctions visible
A business requirement might allow viewing but prohibit export, or allow comments without editing. Determine whether the proposed platform and integration can express that distinction. If not, the decision is a workflow limitation requiring treatment, not an invitation to describe the role more optimistically.
| Operation | Policy intent | Enforcement question |
|---|---|---|
| View | Read approved planning material | Which endpoint and document state are authorized? |
| Export | Only designated delivery owners | Are editor and business download paths both checked? |
| Manage sharing | Only accountable workspace owners | Can direct grants or inherited roles bypass that rule? |
| Restore version | Approved recovery operators | Is restoring content recorded and separately authorized? |
The roles are examples. Use the organization's actual intent and the candidate's verified controls. Record an unsupported rule explicitly and consider a separate approved artifact, a different interaction mode, or another supported arrangement.
Keep exceptional procedures in the same matrix. A support export or background conversion may use a powerful service account; identify how the initiating user's rights constrain that operation. Otherwise the normal user path can be correct while an auxiliary service creates a broader access route.
Resolve scope and inheritance
Determine how tenant, collection, folder, document, and direct grants combine. Specify what happens when a document moves, when a parent becomes restricted, and when an explicit grant conflicts with inherited access. Use supported behavior from the actual product configuration and avoid inventing precedence rules. Resolve document identifiers inside the authenticated scope before checking the requested action. An unguessable identifier does not replace authorization. Search, previews, exports, and background retrieval need the same intended boundary, since protecting the main editor entry point leaves other information paths available if they are overlooked.
Test a restricted planning model
A finance group owns a planning spreadsheet. Analysts edit, executives view approved versions, and support staff manage service incidents without ordinary business access. Create harmless test content and execute each permitted and denied operation using those identities. Attempt direct downloads and exports through documented application paths. Move the spreadsheet into a restricted collection, remove an analyst, and retry from an existing session. This example exposes differences between initial session authorization and continuing access, as well as privileges that a broad support role may unintentionally inherit. Record each observation against the operation matrix.

Make policy changes observable
Log meaningful authorization decisions and membership changes with safe identifiers, policy context, and time. Avoid collecting content or credentials merely to prove a denial. Define the acceptable delay for permission updates and verify the product's session refresh or termination behavior. Give administrators a supported way to investigate unexpected denials without casually granting broad access. Review orphaned ownership and exceptional grants on a schedule suited to the information risk. When upgrading or changing identity integration, repeat the focused operation tests because a previously correct role mapping may no longer apply to every path.
Access contract
- List each business operation and its enforcing service.
- Document tenant scope, inheritance, moves, and explicit grant behavior.
- Test both allowed and denied actions with ordinary identities.
- Measure active session behavior after membership or policy changes.
- Review exceptional grants and rerun focused tests after relevant changes.


