Document Access Governance & ACLs
How document permissions are meant to carry into a private AI deployment: retrieval follows the directory groups and file permissions you already run, rather than a second permissions database that has to be kept in step.
1. The Multi-Role Data Leakage Problem
A document index that ignores source permissions can expose restricted material through search or generated answers. Permission handling therefore needs to be part of the retrieval design, not an afterthought bolted onto the interface.
Where an index is built without that check, this is how restricted material surfaces: an intern asking about holiday schedules receives an answer assembled from executive compensation tables, board minutes discussing redundancy plans, or confidential client billing rates.
The Soviture governance rule: retrieval is confined to documents the asking user can already read on your existing network shares. Anything wider is a design failure.
2. Active Directory & File System ACL Inheritance
Rather than asking IT to maintain a separate permissions database inside the AI software, the design reads permissions from the source you already administer:
- Directory Integration: Users can be authenticated against your existing directory — LDAP or LDAPS, Kerberos, or SAML/OIDC single sign-on — depending on what your environment already supports.
- Windows SMB & POSIX NFS ACLs: During ingestion, the indexing service reads the discretionary access control lists (DACLs) and security identifiers (SIDs) attached to each file and folder on the shares you nominate.
- Vector Metadata Tagging: Each document chunk is tagged with the groups permitted to see it (for example
SID:S-1-5-21-...-1002 [Finance-Executive]), so the filter has something concrete to match at query time.
3. Pre-Retrieval Filtering Architecture
The table below is an illustration of the intended behaviour, not a record of a client case:
| User Role | Query Example | Permitted Document Corpus | System Outcome |
|---|---|---|---|
| Operations Staff | "What is the shutdown sequence for the compressor?" | \\shares\engineering\sops\ |
Drafts the §8.3 passage with its page reference for review |
| Operations Staff | "What are executive retention bonuses for 2026?" | \\shares\engineering\sops\ |
No supported answer found in this user's permitted document set. |
| Finance Director | "What are executive retention bonuses for 2026?" | \\shares\finance\executive\ + engineering SOPs |
Extracts clause from Board Remuneration Minutes with page citation |
When a query is submitted, the search request carries the user's validated identity. The vector store is designed to apply the permission filter before ranking: similarity is computed only against chunks the user's groups are permitted to see, rather than filtering the results afterwards.
4. On-Premises Audit Logging
A private deployment can keep a record of use that stays with your organisation. What is logged, for how long and who can read it are agreed during the engagement; the shape below is what the design supports:
- Logged Fields: User identity, workstation address, query text, timestamp, the passages retrieved, the drafted answer and any user feedback. Whether all of these are retained is a decision for your organisation, not a default.
- Local Storage and Forwarding: Records can be kept on the appliance and forwarded to your own SIEM over TLS, so the record sits where your other security logs sit.
- Review Reports: Periodic summaries of query volume and refused or restricted-folder requests can be produced for access reviews. The interval is agreed with you.
5. Document Lifecycle Synchronization
Permissions change when employees join, move departments, or depart. The design keeps retrieval in step with your directory rather than taking a one-off copy:
- Group Membership Refresh: Group membership is re-checked when a session starts, with a short local cache. If an employee is removed from the Finance group in Active Directory, their access to financial documents in the AI interface stops being available once that cache expires — the exact interval is a configuration choice.
- Folder Permission Changes: If a folder moves from open engineering access to restricted, the indexing service detects the ACL change on its next pass and updates the metadata on the affected chunks. A sync interval means this is not instant.