Skip to content

Roles and permissions

View as Markdownllms.txt

The four OpenLakeForge roles and what each can do in every service. The roles are fixed for v0.5-alpha and defined in release/identity-roles.yaml; this page is derived from that file.

A person holds the highest role among the GitHub teams they belong to, and GitHub teams are mapped to roles in spec.identity (Map teams to roles). With authentication off, everyone is an administrator everywhere.

Highest first. A role holding a service’s grant implies that every role above it holds one too.

Role Intended for
platform-admin Running the platform: administrator in every service
data-engineer Building and running pipelines, models and metadata
analyst Reading and building dashboards on published data
viewer Reading dashboards and metadata

A role with no entry for a service is denied at the perimeter, before the request reaches the service. The cell is the role the person gets inside the service. A grant applies on every enabled stage.

Service platform-admin data-engineer analyst viewer
Portal opens opens opens opens
Dagster full full denied denied
Trino UI opens opens denied denied
Superset Admin Alpha Gamma read-only
OpenMetadata Admin write read read
Trino /v1 (olf query) opens opens opens opens

A person refused a service sees an “Access is role-restricted” page.

With GitHub sign-in, olf query runs SQL as you (CLI reference). Your role then decides, per stage and medallion layer, which tables you read and write. Polaris enforces it, and the storage credentials your query reads with are issued for those tables only.

Role DEV UAT PROD
platform-admin write every layer write every layer write every layer
data-engineer write every layer read every layer read every layer
analyst read Gold read Gold read Gold
viewer none read Gold read Gold

Writing includes creating schemas and tables. A role that may only read is refused when it writes: by Polaris for a new schema or table, and by storage for new rows, because its credentials are read-only. The rows apply only with GitHub sign-in. Pipelines, dbt and Superset do not use them: they run as the stage’s service principal, as does olf infra query.

Every signed-in person with a role opens it. It lists the services and, with GitHub sign-in, links to the organization’s teams page where membership is managed.

Dagster has no authorization of its own, so the perimeter is the only control. platform-admin and data-engineer have full capability: launching jobs with run configuration, terminating and deleting runs, reloading code locations and toggling schedules. The pods that run those jobs hold the stage’s storage and catalog credentials, so assign data-engineer on that basis.

platform-admin and data-engineer open the Trino web UI. analyst and viewer do not. The UI opens as the fixed user olf-web behind the perimeter. Opening it changes nothing about what a query may read: Trino holds no credential and no access rules of its own, and Polaris decides each table access from the token the query carries (see CLI and automation). Your own queries go through olf query (What each role reads and writes).

Action platform-admin (Admin) data-engineer (Alpha) analyst (Gamma) viewer (read-only)
View published dashboards all all granted schemas granted schemas
Create and edit own charts and dashboards yes yes yes, on granted datasets no
Create and edit datasets yes yes no no
SQL Lab yes no no no
Add, edit, delete database connections yes no no no
Import and export dashboards, alerts and reports yes yes no no
User and role administration yes no no no

analyst and viewer see the Gold schemas of the imported dashboards. SQL Lab is for administrators only. The viewer role is a custom read-only role (olf_viewer), because Superset has no read-only dashboard role of its own.

Action platform-admin data-engineer analyst viewer
Search, browse, view assets and lineage yes yes yes yes
Edit descriptions, tags, glossary terms, tier, certification yes yes no no
Edit display names and lineage; trigger ingestion pipelines yes yes no no
Change owners yes yes no no
Create or delete entities yes no no no
Roles, policies, teams, users, bots, settings yes no no no

With a GitHub App (not a hand-made OAuth App), a CronJob, openmetadata-role-sync, applies these roles every 5 minutes from the mapped GitHub teams: the administrator flag for platform-admin, the DataSteward role for data-engineer, and neither for the others. A person in no mapped team cannot sign in. The CronJob is applied from the openlakeforge.yaml at the project root; a profile passed with -f is not read for it. Mapped teams must have no child teams. An asset’s owner keeps full control of it whatever their role, so reassign owned assets when you demote someone.

OpenMetadata’s local admin@open-metadata.org login does not work once sign-in is on.

olf infra commands, CI and the pods of the platform are not people and hold no role; the platform commands olf login, olf whoami and olf query are the exception and act as you, with your role. The others authenticate with Kubernetes RBAC (your kubeconfig) or with a service credential from a Secret (to Trino’s catalogs, the stage’s processing principal’s Polaris token), and reach services through port-forwards or their in-cluster addresses, never through the sign-in perimeter. Whoever holds the kubeconfig can therefore reach every service; a role limits people, not cluster access. olf infra break-glass is the recorded way to use that when the issuer is down (Break-glass access).

OpenLakeForge roles are never cloud IAM permissions.


Synced from openlakeforge @ v0.6.0-alpha.3 (882b426), docs/reference/roles-and-permissions.md.