Advanced Guide for Roles and Policies
Users and Teams
OpenMetadata introduces a versatile hierarchical team structure that aligns with your organization’s setup. Administrators can mirror their organizational hierarchy by creating various team types. Organization serves as the foundation of the team hierarchy representing the entire company. Under Organization, you can add Business Units, Divisions, Departments, Groups, and Users. For instance, if your company is Facebook, then the Organization represents entire Facebook itself, which further houses diverse teams like Engineering, Sales, Finance, and Marketing.

Note: Only Groups have the privilege of owning data assets within the OpenMetadata platform.
Access Control Design: Roles and Policies

Authentication Flow

Authorization Framework
OpenMetadata’s authorization is a result of evaluating three crucial factors:

Resource Scope Reference
The table below maps every resource category to the real-world access it controls. Use this when designing policies – start by identifying which categories are relevant to the role, then add only the operations needed.Note: Tables are the most critical data asset resource. Over-permissioning here has the widest blast radius, as many downstream queries, dashboards, and pipelines depend on them.
Key Scope Principles
- Service resources (Database Service, Pipeline Service, and so on) control the connection itself – granting Edit on a service gives access to all assets in that service.
- User & Access Control resources are the most sensitive category. EditPolicy and EditRole changes affect the entire permission model.
- AI/Agent resources govern automated execution paths. Restrict Agent Execution and Dynamic Agent to roles that actively need to run workflows.
- Data Governance resources (Tags, Glossary Terms, Domain) may seem low-risk but misuse can cause incorrect PII labelling with compliance consequences.
Difference Between ViewBasic and ViewAll in OpenMetadata
The operations ViewBasic and ViewAll in OpenMetadata differ in the level of detail they provide access to. The following explains each in detail:ViewBasic
- Provides access to the basic details of an asset.
- Includes information such as:
- Description
- Tags
- Owner
- Fundamental metadata
- Excludes more detailed information, including:
- Profile data
- Sample data
- Data profile
- Tests
- Queries
ViewBasic: Key Points
- Suitable for viewing foundational asset metadata.
- Limited access for users who do not require in-depth technical details.
ViewAll
- Provides access to all details of an asset.
- Includes everything available in ViewBasic, along with:
- Profile data
- Sample data
- Data profile
- Tests
- Queries
ViewAll: Key Points
- Designed for users who need a complete view of the asset.
- Offers comprehensive insights and detailed metadata.
Summary Table
| Feature | ViewBasic | ViewAll |
|---|---|---|
| Basic Details | ✅ Included | ✅ Included |
| Profile Data | ❌ Not Included | ✅ Included |
| Sample Data | ❌ Not Included | ✅ Included |
| Data Profile | ❌ Not Included | ✅ Included |
| Tests & Queries | ❌ Not Included | ✅ Included |
Overview
- ViewBasic: Focused on essential metadata.
- ViewAll: Provides a complete view, including advanced details.
| Permission | What it adds over the level below |
|---|---|
| ViewBasic | Baseline – see entity name, type, and owner. Safe for all authenticated users. |
| ViewAll | Adds full schema, lineage, tags, glossary terms, and metadata fields. |
| ViewDataProfile | Adds column-level profiling statistics (null %, value distributions). |
| ViewUsage | Adds query frequency and who accessed the asset and when. |
| ViewQueries | Adds the actual SQL text of executed queries. |
| ViewSampleData | Adds actual row-level data – treat as data access, not just metadata access. |
| ViewTestCaseFailedRowsSample | Adds data rows that failed quality tests – often contains production data. |

Quick Guide: Which Role Should I Start With?
Use this table when onboarding a new user to determine which base role to assign first.| User’s primary job | Start with this base role | Common additions |
|---|---|---|
| Browse the catalog, understand data landscape | Read-Only Viewer | ViewDataProfile if they need column stats |
| Run analyses, build reports, write SQL | Data Analyst | ViewSampleData if formally approved |
| Define business terms, enforce data quality standards | Data Steward | EditCertification if they certify assets |
| Build pipelines, ingest metadata, deploy workflows | Data Engineer | EditAll on specific service types they own |
| Build AI agents and prompt-driven applications | AI / ML Engineer | EditAll on AI Governance Policy if they author policies |
| Monitor compliance, tag PII, review audit trails | Compliance Officer | AuditLogs is essential for this role |
| Administer the platform, manage users and services | Platform Administrator | Minimize use of Impersonate and GenerateToken |
Building Blocks of Authorization: Rules, Policies, and Roles
Learn all the details of Rules, Policies, and Roles
Use Cases: Creating Roles & Policies in OpenMetadata
Tailor your policies to meet your organizational and team needs.