Role-Based Permission Inheritance (RBAC / ABAC)
Enforcing the querying user’s corporate identity, regional scope, and column-level clearance deterministically inside the ontology engine before any data reaches the LLM.
Why It Matters for Enterprise AI
Connecting an AI agent via a single shared read-all service account and asking the model in a system prompt "not to show salaries or unit costs" is a critical security vulnerability.
Architectural Context & Execution Mechanics
When permissions live in the ontology, row filters and field masks are compiled into every query automatically based on the authenticated principal.
Through indirect phrasing ("subtract unit margin from list price"), an unauthorized user extracts confidential supplier costs from a prompt-guarded bot.
policy SalesOrderAccess on SalesOrder {
row_filter: principal.region == this.customer.region or principal.role == "FinanceLead"
mask_fields: [unit_cost, gross_margin] unless principal.role == "FinanceLead"
}How to Use an Ontology in Enterprise AI: The Architectural Reference
Moving beyond fragile Text-to-SQL and stale Vector RAG by grounding AI assistants and agents in verified business objects, links, rules, and kinetic actions.
Read guide (9 min read)Related Ontology Concepts
Free to reference in engineering docs, ADRs, articles, and course syllabi with attribution.
[Role-Based Permission Inheritance (RBAC / ABAC) — Ontoloji.org](https://ontoloji.org/en/glossary/role-based-permission-inheritance)