Skip to content

Departments & access levels

Every document in Zahen has two pieces of access control: a department and an access level. Together they determine which users can read the document — and therefore which users can receive answers grounded in it.

Access is enforced before search. Zahen filters the candidate documents by the reader’s role and department before it runs the retrieval query, so a user can never receive an answer drawn from a document they’re not permitted to read. Choosing the right combination when you upload is how you control who sees what.

Access levelWho can read it
PublicAnyone signed in.
EmployeeAll employees. This is the usual default for organisation-wide policies.
DepartmentOnly people in that document’s department.
RestrictedAdministrators only.

Most documents belong to a specific department — for example, HR, Finance, or IT. A user sees organisation-wide documents plus those for their own department. They do not see other departments’ documents.

A department admin can only upload and manage documents within their own department. A platform admin can assign any department.

Think about the narrowest group that legitimately needs this information:

  • A company-wide travel policy → Employee access, any department (or a shared “Organisation” department if you have one).
  • A department-specific process guide → Department access, set to that department.
  • A draft or sensitive document for admins to review → Restricted.

Users never see a list of all documents; they only ever see information the system retrieved for their specific question. If a user asks about something covered only in a document they can’t access, the assistant tells them it doesn’t have a policy that answers the question. See Why you can’t see some documents for the user-facing explanation.