Microsoft 365 storage performs best when a vault uses a simple and predictable permission model. This topic describes five best practices for permission design in vaults that use Microsoft 365 storage. Each practice includes an example and guidance on when to apply it. The practices help you build vaults that scale, are easy to maintain, and perform well when the amount of content grows.
Quick reference
| Practice | Do | Do not |
|---|---|---|
| Standardizing permission models | Use named access control lists and reusable permission templates. | Do not set unique permissions on single objects. |
| Using positive permission assignments | Give access only to the people who need it. | Do not use deny rules. |
| Assigning permissions through groups | Give permissions to user groups. Use nested groups only when necessary. | Do not give permissions to individual users. |
| Keeping metadata-driven permissions simple | Use only a few metadata properties to set permissions. | Do not combine many properties in one permission rule. |
| Reducing ACL variation | Give similar content the same access control list. | Do not create a new access control list for each variation. |
Standardizing permission models
Use named access control lists (NACLs) and reusable permission templates instead of separate permissions for each object. A standardized model applies the same permission logic to similar content. This keeps the vault predictable and easier to scale. For more information about NACLs, see Named access control list permissions in M-Files Admin.
Example
A customer manages contracts for many business units. The customer creates a small set of NACLs instead of custom permissions on each contract. Examples are Legal Team: Full Control and Business Unit: Read Only. The customer applies these NACLs consistently across all contracts that have the same access requirements.
Using positive permission assignments
Design permission logic that grants access. Avoid logic that denies access. Positive assignments are easier to understand and scale more predictably than models that use deny rules.
Example
A customer wants to restrict a set of confidential documents to a project team. The customer does not grant broad access and then add deny rules for excluded users. Instead, the customer creates a NACL that grants access only to the project team group. Anyone outside that group has no access by default.
Assigning permissions through groups
Assign permissions to user groups instead of individual accounts. Keep the group structure simple and use nested groups only when necessary. For more information, see User group permissions.
Keeping metadata-driven permissions simple
Use only a few metadata properties to set permissions. Keep the logic that calculates the permissions simple and predictable. For more information, see Automatic permissions for value list items.
Example
A customer wants documents to inherit permissions based on their department. The customer configures the vault to calculate permissions from a single Department property. The customer does not combine department, project, and status in one calculation. This keeps the permission logic easy to predict and troubleshoot.
Reducing ACL variation
Design workflows so that similar content receives similar permissions. A smaller number of unique access control list (ACL) combinations in the vault generally leads to better scalability.
