Skip to content
Naditu
Get started
03 · SSO · OIDC · RBACMCP 2026-07-28 · On-Premises

Identity & Access Policies

Prompt-based access instructions fail security audits because a model cannot safeguard records already loaded into its context. Naditu binds your existing identity provider groups to deterministic row predicates, column masks and actor rules evaluated before any database query runs.

Supported IdPs
Okta, Microsoft Entra ID, Google Workspace, OIDC / SCIM
Enforcement granularity
Closed tables · Row predicates · Column masks · Action gates
Actor separation
Distinct policies for human assistants vs. scheduled agents
01 · Directory inheritance

Mapping Okta, Entra ID and OIDC claims to ontology roles

Naditu does not ask administrators to maintain a parallel user list. Incoming MCP calls present short-lived OIDC tokens issued by your identity provider (or exchanged via OAuth 2.1 token exchange through your internal MCP gateway), carrying group and attribute claims.

Policy bindings map directory claims directly to row-level territory or plant filters and column-level visibility rules. When an employee moves teams in Entra ID or Okta, their AI access updates immediately on the next query.

ontology/policies/idp_bindings.json · role & mask specificationJSON · On-Prem
{
  "version": "v14",
  "identity_provider": "oidc_enterprise",
  "bindings": {
    "sales.emea": {
      "match_claim": "groups contains okta:group:sales-emea",
      "row_filter": "Customer.region == EMEA",
      "allow_columns": "Order.quoted_price, Order.due_date, Order.status_label",
      "mask_columns": "Item.unit_cost, Customer.credit_limit"
    },
    "finance.global": {
      "match_claim": "groups contains entra:group:finance-global",
      "row_filter": "Customer.active == true",
      "allow_columns": "Order.quoted_price, Item.unit_cost, Customer.credit_limit, Invoice.paid",
      "mask_columns": "none"
    },
    "plant.planning": {
      "match_claim": "groups contains entra:group:plant-planning",
      "row_filter": "WorkOrder.plant in caller.assigned_plants",
      "allow_columns": "WorkOrder.machine, WorkOrder.scrap_pct, Order.due_date",
      "mask_columns": "Order.quoted_price, Item.unit_cost, Customer.credit_limit"
    }
  }
}
02 · Hard boundaries

Closed tables that no role—including admins—can open to AI

Every enterprise holds tables that have no business entering an LLM context window under any prompt: executive payroll ledgers, statutory personnel files, medical leave records, litigation holds and raw credential stores.

In Naditu, closed-table rules sit above role bindings. Even if a caller holds Finance or ontology administrator privileges, any query path touching a closed table (such as HRP_PAYROLL or Logo Bordro Plus salary tables) is refused before reaching the database, and the refusal is written to the audit log.

Pre-query refusal

Zero database I/O on blocked tables

The planner rejects closed-table references during AST resolution. Neither rows nor row counts are ever read or inferred.

Deterministic masking

Withheld rows vs. masked columns

Withheld rows are excluded at SQL/API predicate level; restricted columns on permitted rows are replaced in memory with "masked" prior to MCP serialization.

03 · Actor classes

Interactive assistants vs. unattended scheduled agents

An assistant acting interactively for a signed-in finance manager and a cron agent running at 02:00 AM carry fundamentally different risk profiles. Treating both under a shared static API key either over-privileges background bots or blocks interactive work.

Naditu separates callers into explicit actor classes so background workflows can read operational state and draft notifications while remaining barred from PII exposure or unattended ERP mutations.

  • OperationRead records within caller row & column scope
    Assistant (for a signed-in person)Allowed
    Scheduled agent (unattended)Allowed (with PII & margin masks)
    Ontology / Business ownerAllowed
  • OperationRead closed tables (payroll, personnel files)
    Assistant (for a signed-in person)Never (refused & logged)
    Scheduled agent (unattended)Never (refused & logged)
    Ontology / Business ownerNever via AI / MCP
  • OperationMutate operational tables via SQL query
    Assistant (for a signed-in person)Never
    Scheduled agent (unattended)Never
    Ontology / Business ownerNever
  • OperationDraft email or operational summary
    Assistant (for a signed-in person)Allowed
    Scheduled agent (unattended)Allowed
    Ontology / Business ownerAllowed
  • OperationWrite a record back through official ERP API
    Assistant (for a signed-in person)With named human approval
    Scheduled agent (unattended)Never (refused pre-ERP)
    Ontology / Business ownerAllowed / Approver
  • OperationModify ontology term, link or policy rule
    Assistant (for a signed-in person)Proposes only
    Scheduled agent (unattended)Proposes only
    Ontology / Business ownerWith named approval & version
Default governance matrix across actor classes

Engineering deep dives

Related articles from the blog

2026-12-01

Agent harness vs ontology: what each layer solves

An agent harness runs the model loop, tool calls and retries. An ontology defines what company data means, how tables join and what the agent is allowed to do.

2026-12-03

Nous Hermes Agent for enterprise bots: patterns and risks

Evaluating Nous Research Hermes Agent for enterprise chat bots: post-turn skill review, memory caps, static MCP identity gaps, and shared memory leak risks.

2026-12-03

Self-hosted Claude Managed Agents: architecture and limits

Self-hosted Claude Managed Agents explained: cma-server, PostgreSQL 16, worker bash isolation, three credentials, and what still leaves your network.

Follow what we ship.

New connectors, product updates and what we learn rolling AI out in enterprises, sent to your inbox.

Book a demo

Tell us where to reach you and we will reply with times.