Data Governance
This page covers the following changes when you upgrade from OpenMetadata 2.0 to 2.1:- Glossaries and ontologies
- Policies and roles
- Workflows
- Domains and data products
- Access governance
Policies and Roles
OpenMetadata 2.1 changes the default policies and roles as follows.New Default Policy Rules
Behavioral. Affects who can run SPARQL Protocol and Resource Description Framework (RDF) Query Language (SPARQL) queries, create context memories, and start conversations.
DataConsumerPolicy, the policy behind the Data Consumer role. The first two rules are
added only if you have not removed the permission they build on. The conversation rule is always added.
Domain-Only Access Is Restricted Further
Behavioral. Affects users who hold the domain-only access policy.
DomainAccessDenyAdministrationRulestops domain-restricted users from creating, deleting, deploying, or editing policies, roles, bots, and applications, regardless of their domain.DomainAccessDenyTeamAndUserRulestops them from creating, deleting, or editing teams and users that belong to no domain, and bot users.
Bots Can No Longer Impersonate Other Bots
Behavioral. Affects bots that hold
BotNonAdminImpersonationPolicy.BotNonAdminImpersonationPolicy-DenyBotUsers, to this policy. It denies the
Impersonate operation when the target is a bot user. A bot that used this policy to impersonate another
bot is refused after the upgrade.
Ontology Roles and Policy
Additive. A new
OntologyAuthorPolicy lets its holders create, edit, delete, and view ontologies,
concepts, properties, axioms, and change sets. The upgrade also attaches OntologyAuthorPolicy and OntologyReviewerPolicy to the existing DataSteward role, so data stewards can author and review ontologies.Approval-Gated Changes
Additive, and only for workflows you change. A governance workflow with an event-based trigger can
now hold edits until a reviewer approves them. Nothing is held until you set Approval Mode to
Enforce on a workflow. For more information, see Approval-Gated Changes.
Behavioral once you turn it on. In an Enforce workflow, a human
PUT, PATCH, CSV import, or bulk
asset change to a watched field is not written. OpenMetadata returns the asset with its approved value
and creates a change request and review task. Bots are never held. Scripts that edit governed assets and
expect the change to appear immediately must wait for approval or run as a bot.- Change requests are served from
/v1/changeRequests: list by asset or requester, read, list revisions and decisions, and withdraw your own pending request. - The bulk add and remove asset calls on domains and data products are checked by the same approval step and respect
dryRun. - Resolving a review task takes
changeRequestRevisionand, optionally, per-changechangeDecisions.
Glossary and Ontology
The following glossary and ontology changes apply in 2.1.Terms Proposed by Automation Go to Review
Behavioral. Affects the stored
GlossaryTermApprovalWorkflow.automation, such as a term an AI agent suggests) now waits for a person to approve it, in
approval steps of its own. When nobody else can decide, the task is assigned to admins. Every other
term is reviewed as before. If you edited the workflow so that its start has more than one outgoing edge,
the upgrade leaves it alone and an admin must connect the branch.
Relation Type Usage Response Changed
Breaking. Affects clients of
GET /v1/glossaryTerms/relationTypes/usage.relationshipType (an entity reference) and a count.
In-Process RDF Reasoning Is Removed
Breaking for SPARQL inference settings. Affects anyone who relied on
inferenceEnabled or reasoning levels on SPARQL queries.inferenceEnableddefaultInferenceLevelcacheInferredTriplesmaxInMemoryInferenceTriples
custom, which reads materialized
rule output. To keep inference, turn on materializedInferenceEnabled, which runs rule-based inference
inside the RDF store.
New RDF Settings
Additive. These settings are new in 2.1 and do not change behavior until you change them.
Use the environment variable
RDF_AI_ENABLED to turn on aiEnabled. The older
RDF_ASK_COLLATE_ENABLED still works as a fallback but is deprecated.
The Bundled Fuseki RDF Store Image Changed
Breaking for the bundled Fuseki. Affects anyone who runs the RDF store from the OpenMetadata Docker
Compose files or Kubernetes manifests.
openmetadata/fuseki:6.2.0-318ff87. It differs from OpenMetadata 2.0 in the following ways:
- The admin password variable is
ADMIN_PASSWORD.FUSEKI_OPENMETADATA_PASSWORDis removed. - New required settings are
FUSEKI_DATASETS=openmetadata,openmetadata_a,openmetadata_b,FUSEKI_UNION_DEFAULT_GRAPH=true, andOPENMETADATA_EXTENSION_ENABLED=true. - Data is stored under
/fusekiin the volumefuseki-store. The old layout used/fuseki-datain the volumefuseki-tdb2-data.
/fuseki/databases first,
or rebuild the graph by running the RDF Index application after the upgrade.
Only Approved Glossary Terms Can Be Applied Through the API
Breaking for scripts and integrations. Affects clients that tag assets with glossary terms that are
Draft, In Review, Rejected, or Deprecated.
- Create, update, patch, and bulk requests
- Table data models
- The columns API
- The
assets/addendpoint of a term - Column bulk-update and CSV import previews
Approve the terms your integrations apply, or stop applying terms that are not yet approved.
Moving Glossary Terms and Changing Assets in Bulk
Behavioral. Affects scripts that call the glossary term move and bulk asset endpoints.
- Moving a term needs a parent. Name the new parent with both
idandtypein the move request. Without it, the call returns400 Bad RequestwithA move needs the parent the term moves under. To move a term to the top level, name the glossary itself as the parent. - Bulk asset changes are checked one asset at a time. Adding or removing assets on a glossary term, tag, domain, or data product no longer checks one permission for the whole request. Each asset is checked and saved like its own edit. Failures are reported per asset, and an asset held by an approval workflow comes back as pending.
Ontology Support
Additive. The ontology entities and APIs below are new in 2.1, except the two items marked as extensions of 2.0 features. No existing client is affected.
- Ontologies: native ontologies, concepts, properties, axioms, change sets, releases, packs, and bulk jobs are new entities with their own APIs
- Import and export (extends a 2.0 feature):
importRdfalso accepts JSON-LD.GET /v1/glossaries/{id}/exportOntologyexports a glossary as Turtle, RDF/XML, N-Triples, or JSON-LD. It works even when RDF storage is off - Terms (extends a 2.0 feature): glossary terms accept
iriandconceptMappingson create - Queries: a read-only agent SPARQL endpoint, saved SPARQL queries, and an ontology summary
at
GET /v1/glossaryTerms/ontology/summary - Lists: the term list and search endpoints accept
providerandexcludeProvider, and the glossary list acceptsdomain
Domains and Data Products
Behavioral. Affects clients that read domain and data product assets.
- The asset list and asset count endpoints for domains now need
ViewBasicon domains. These endpoints are/v1/domains/{id}/assets, its by-name variant, and the counts. They also take the caller’s own access into account. - The task list for a domain is limited to tasks the caller can view.
Additive.
GET /v1/domains accepts owners, domainType, tags, and glossaryTerms filters.
GET /v1/domains/styles returns the color and icon of every styled domain and data product.Governance Workflows
Additive. Workflow definitions accept a
lifecycle configuration and two new automated tasks,
dataCompletenessTask and collectMetadataTask. For more information, see
Lifecycle Stages. Existing workflow definitions keep
working without changes.Behavioral. In an approval task,
expiryTimer.durationVariable and expiryTimer.dateVariable must now
start with a letter or underscore and contain only letters, digits, and underscores. A custom workflow that
uses a name with a dash, a dot, or a leading digit fails validation.Bot Users Can’t Trigger Workflows
Behavioral. Affects integrations that rely on a bot’s changes to start a governance workflow.
Java SDK
Breaking for Java SDK users. The generated enum
org.openmetadata.schema.type.WorkflowTriggerFields is removed. The list of trigger fields is now a server resource, not a schema type. Remove any import of it.Data Retention
Behavioral. Affects the Data Retention application.