TotalApp Docs

AI Governance & Access

Who can reach what through AI, what the AI may discuss, and a record of what happened — governance rules your administrators control for every AI request the organization sends.

Overview

Governance is the set of rules your organization decides: which data the AI can work with, which topics are off limits, whether personal data is masked, and what is recorded.

Tenant-wide, opt-in, administrator-controlled

Every governance control below is configured once per tenant in Settings → Agentic → AI Governance policy, by a tenant administrator. All controls are off by default, so switching AI on never changes behaviour until you decide it should.

Permission-aware access

TotalApp does not add a second, AI-only permission system. The AI inherits the permission model you already run, in three layers:

LayerWhat it does
Screen accessAssistants live inside screens. A user who is not allowed to open a screen — because of their role or the tenant’s package — cannot open its assistant either.
Tenant boundaryEvery data request is scoped to the tenant in the user’s signed-in session. AI features read tenant data through the same scoped requests, so a user can never reach another tenant’s records through AI.
Context scopeEach assistant works on the data of the screen it is embedded in, and on the rows you select. Personal knowledge sources stay private to the user who added them.

Role changes and sessions

Your role travels in a short-lived session token (15 minutes). When an administrator changes a role, the change reaches AI features the next time the session token is refreshed.

Topic & content restrictions

Administrators maintain a list of blocked terms — competitor names, legal or medical advice, anything an assistant should never discuss. One term or phrase per line.

  • A request that contains a listed term is declined before it reaches the model.
  • A response that contains a listed term is withheld and replaced with a short notice.
  • Single words match as whole words (so acme does not match acmeology); phrases match as written; matching ignores case.
  • Up to 200 terms per tenant. The list is tenant-wide — there is no per-role variant.
  • Every decline or withhold is recorded when the audit trail is on.

Know the limits

Matching is lexical, not semantic: it finds the words you list, not every way of saying the same thing. Screens that expect a structured answer may show an error instead of the usual result when a response is withheld.

Automatic PII masking

When enabled, personal data is replaced with a neutral token before it leaves TotalApp — and, separately, in the answer before it is shown to the user.

TypeTokenHow it is recognised
Email addresses[EMAIL]Standard address pattern
Phone numbers[PHONE]International, local and bracketed formats with 10–15 digits
Payment cards[CARD]Digit run that also passes the card checksum
IBAN[IBAN]Country-prefixed account number that passes the IBAN checksum
US SSN[SSN]Social Security number pattern
T.C. kimlik no[TCKN]Eleven-digit Turkish national ID that passes its checksum
  • Prompts — masking applies to what you send to a chat model and also to the text sent for embedding and reranking.
  • Responses — masking applies to the model’s answer before it is displayed (not to streamed answers).
  • Checksummed formats are validated first, so ordinary numbers such as order IDs, amounts and dates are left alone.
  • Choose which types to detect. Defaults to all six.

Masking changes what the AI can see

An assistant that analyses employee emails or phone numbers will see tokens instead of the real values. Enable masking where the AI does not need the identifiers, or accept that its answers will refer to tokens.

Audit trail & CSV export

When Record AI activity is on, every governed AI request writes one record to your tenant’s own audit files (one file per month).

What is recordedNotes
Time, user and the feature that made the callThe signed-in user and the screen or service behind the request
Provider and modelWhich model answered
DecisionAllowed, sanitized, redacted, blocked or error
CountsHow many items were sanitized and how many personal-data items were masked, by type, in the prompt and in the response
Size and timingPrompt and response length, duration
Prompt textNot stored. Optionally a masked preview of the first 200 characters

Administrators export any date range as a CSV file from Settings → Agentic → AI Governance policy → Export audit trail. Cells are written so a spreadsheet cannot execute them as formulas. Audit files stay in your tenant; there is no automatic deletion yet.

Set it up

  1. Sign in as a tenant administrator and open Settings → Agentic.
  2. Find the AI Governance policy card and switch on the controls you need.
  3. For topic restrictions, enter one term or phrase per line.
  4. Click Save policy. New requests follow it within a few seconds.

Other users see a notice that only tenant administrators can manage the policy.

What is covered

CoveredNot covered today
AI requests made while a signed-in user works in the app: assistants, agents, writer tools, embeddings and rerankingStreamed responses: the request side applies, the answer is not rewritten
Cloud models reached through TotalApp (Anthropic, Cohere, the model gateways)Background jobs that run without a signed-in user
Text extracted from uploaded files once it becomes part of a promptThe local command-line engine, which is not available in production

Frequently Asked Questions

Are the controls on for new tenants?
No. Every control is off until a tenant administrator turns it on, so nothing changes silently.
Can I apply different rules to different roles?
Not yet. The policy is tenant-wide. Screen access is still controlled per role through your normal permission setup.
Does masking happen before or after the model sees the text?
Before, for prompts: the model only receives the masked text. For responses, the answer is masked before the user sees it.
Who can read the audit trail?
Tenant administrators, through the CSV export. The files live in your tenant’s own folder and are not readable by other tenants.
Does the audit trail contain my prompts?
No by default. It records metadata only. You can opt in to a masked 200-character preview.