AI and systems
How to set permissions for an enterprise AI assistant
Setting permissions for an enterprise AI assistant means writing, for each role, which files that role may read and which actions it may propose, and only after the responsible person has confirmed those two columns does the administrator place an account into that role. The assistant can read only the files that account can already open in the file store. People, legal text, amounts, and commitments to outsiders still wait until the responsible person has reviewed them before they can be sent as an approved rule.
On this page
- 1Roles go on the table before accounts
- 2Reading scope stops at the files the job uses
- 3The assistant follows access the file store already enforces
- 4Four kinds of wording wait for the responsible person
- 5Questions leave a record the security lead can check
- 6External systems use an identity that belongs to the assistant
- 7Pay files and unpublished contracts stay outside the assistant
Matching serviceInternal knowledge base and assistant
Roles go on the table before accounts
The first column of the permission table is the role, and the account comes second. Split roles by the work. The person who looks up a rule reads only policy that has already been approved. The person who drafts a reply may read the notes that belong to that question and leaves the draft inside the assistant. The person who may approve sending can see the draft and the cited source, and decides whether the reply may leave the assistant. One person may hold two roles. The two reading scopes stay on two rows, so a job change removes only one of them. The responsible person names who may edit the table. An intended user appears only on the rows they have been added to.
When someone leaves, changes jobs, or a project ends, the administrator removes that account from the role. There is no need to edit the grant on every file. Name roles after the job, for example “rule lookup”, “customer-reply draft”, and “external reply approval”. A name such as “everyone” or “management” pulls in more people than the work requires, and a later check cannot tell which job needed the file. On the project end date the responsible person ticks the project role off, the account disappears from that role the same day, and the audit record keeps the time and the administrator who removed it.
Reading scope stops at the files the job uses
The NIST Computer Security Resource Center glossary defines least privilege as a security principle: a system should restrict the access privileges of users (or processes acting on behalf of users) to the minimum necessary to accomplish assigned tasks. That page places this wording under sources including CNSSI 4009-2022 and NIST SP 800-12 Rev. 1. Separate entries on the same page, from NIST SP 800-53 Rev. 5 and NIST SP 800-171r3, describe a security architecture in which each entity receives the minimum authorizations and resources it needs to perform its function. Each row on the role table is filled from those two statements: name the action the job has to finish, then name the fewest classes of files required to finish it. The administrator does not open an extra folder because it might be useful later.
For the assistant, that means opening only the kinds of files the role needs in order to answer. Each extra folder is another path that can end up in a reply. Start narrow. After an intended user has asked that kind of question and the responsible person has confirmed the answer holds, the administrator applies to add one folder. The row records the date, the applicant, the approver, and which directory was opened. That is easier to check than opening the whole store and trying to take access back: taking access back means showing that nobody still depends on the file, while adding a folder only has to match this one job.
The assistant follows access the file store already enforces
When the assistant reads a file, it follows the access control that already applies to that person in the file store. A folder the person cannot open is not summarised in the chat, even when the question names the file title. Inheritance covers the current settings on the parent folder and any tighter setting on an individual file. When an intended user changes department and the file-store inheritance changes with them, the next question follows the new scope. The assistant does not keep a second list of its own.
If the grants in the file store are already too wide, tidy the store before connecting the assistant. The assistant will carry those wide grants into the answers, so a person who expects only their own department can still receive a sentence from another department. The responsible person lists three columns: which folders follow a department, which contracts or pay files need their own grant, and who may change those settings. After the administrator has applied the three columns, they open the store with three real accounts and confirm that a folder those accounts cannot open is also absent from the assistant. Only then is the assistant connected to that store.
Four kinds of wording wait for the responsible person
Four kinds of material may be read by a role and still must not leave as an approved rule: people (pay, discipline, personal data), legal text (contract terms, disputes, compliance judgements), amounts (quotes, payments, the books), and commitments to outsiders (dates, warranty, wording that can be quoted outside). The assistant may draft. The drafter leaves the draft in the assistant and marks which of the four kinds it is. Sending stays with the responsible person who holds the approval role. An intended user cannot mark their own draft as approved.
The reviewer sees the draft and the cited source before anything is sent. The source has to open the actual file in the store, with its version or date visible. If the source does not match the question, or the source is marked draft or out of date, the reviewer sends it back and a person rewrites it before it is sent again. A sentence edited inside the chat is not a release. A confident sentence does not skip that review. The return records the reason, so the next question of the same kind shows whether the problem was the source or the scope.
Questions leave a record the security lead can check
A record that can be checked includes the account, the time, the role, the question, and the files the reply cited. The security lead and the business owner use it to see whether permissions and review followed the written rules: whether the role read a file that was not on the table, and whether any of the four kinds left before review. A spot check takes one day of records, lines them up against the role table, and the administrator corrects the mismatched row in the same week, noting which row changed.
The record is data too. Fewer people should be able to read the audit record than can use the assistant, and those people should be separate from the people who can change permissions. The administrator who edits the table is not the only person who can read the record, so the same person cannot both widen a scope and erase the trace. How long to keep the record follows the retention rule the company already has. The administrator enters that same number of days in the audit setting. If that rule splits people-related files from ordinary business files, the audit record is stored in two classes, each matched to its own period.
External systems use an identity that belongs to the assistant
If the assistant must reach a system other than the file store, give it an identity of its own and only the operations the process needs, such as reading one class of work order or creating a draft. Put that identity on the same role table, with the system name, the actions allowed, and the actions refused. When someone leaves or a project ends, the administrator turns off that row, rather than hunting through every external system for a login. The owner column says “assistant”. The responsible-person column names who approved the connection. The personal account of an intended user does not appear on that row.
The assistant does not call other systems with the personal account of an employee. When that account is disabled, the connection drops on the day the person leaves, and that is when the business discovers the connection had been tied to that person. When the permissions on that account change, what the assistant can do changes with them, and it is hard to say later who authorised the call. Credentials for the external system stay in the secret store the company already uses. The administrator rotates them. The chat and the record show the identity name, not the secret value. The rotation date sits in the note on the role table so the responsible person can spot-check it.
Pay files and unpublished contracts stay outside the assistant
If the drive also holds pay files, unpublished contracts, customer personal data, or decisions not yet shared outside, do not grant it all at once so that every question has an answer. The responsible person splits the folders the assistant may use from the folders that stay in manual work. The administrator connects only the first list. Files on the second list are opened in the file store under the access the person already has, read by a person and answered by a person, and the reply does not cite those paths.
How to split a knowledge base and how to mark sources is covered in How to build an enterprise knowledge base. The permission table should match that scope: a file the knowledge base did not take in is a file the assistant does not read. After the split, the administrator attaches the knowledge-base intake list to the permission table. Folder names on the two lists match. A folder that appears on only one list is removed or marked excluded before the assistant is connected. The reason for the exclusion is written on the attachment, so the next administrator can see why that folder is absent.
