5 core principles of permission management
- Working with the identity of the person asking The application accesses data not through a shared account that can reach everything, but with the permissions of the user asking the question.
- Filtering at search time In RAG-based document search, documents the user cannot open are excluded from the result list from the outset.
- Granting least privilege Agents are not given any more action permissions than they need to complete their tasks.
- Protecting sensitive data Personal data and information that qualifies as trade secrets are labeled and, where necessary, shown masked.
- Keeping an audit trail Which user reached which data by asking which question is recorded, and these records can be audited.
What should you watch out for?
The most common mistake in this area is gathering all documents into a single pool and rolling out an assistant everyone can use in order to get quick results. In such a setup, the contents of a confidential document can reach an employee who has no permission to see it, in the form of an answer.
The way to prevent this is to build the permission model from the first day of the project, in parallel with document preparation.