Skip to content

Gate ingestion pipeline Run action on Operation.Trigger instead of EditAll (UI/backend permission mismatch since 1.12.9) #29468

Closed

Description

@manerow

Summary

The ingestion pipeline Run action in the UI is gated on Operation.EditAll, but as of 1.12.9 the backend authorizes manual runs on Operation.Trigger. This makes the UI and backend disagree:

  • A user with EditAll but not Trigger sees the Run button but gets a 403 when they click it.
  • A user with Trigger but not EditAll should be allowed to run, but the Run button is hidden from them.

Background

#28109 (released in 1.12.9) added explicit backend authorization on the manual-run endpoint:

POST /services/ingestionPipelines/trigger/{id}  →  requires ingestionPipeline.Trigger

The UI was not updated to match, so the Run button still checks the old permission.

Location

openmetadata-ui/src/main/resources/ui/src/components/Settings/Services/Ingestion/IngestionListTable/PipelineActions/PipelineActionsDropdown.tsx

// L71 — permission is read as EditAll
editPermission: ingestionPipelinePermissions?.[Operation.EditAll],

// L160–170 — Run menu item gated on that permission
{
  label: t('label.run'),
  hidden: !editPermission,
  key: 'run-button',
  ...
}

Proposed fix

Gate the Run menu item on Operation.Trigger instead of Operation.EditAll. Trigger already exists in the generated Operation enum (generated/entity/policies/accessControl/resourceDescriptor.ts), so this is a targeted change to the Run item.

While here, audit the other actions in the same dropdown (re-deploy, deploy, kill) — they are all currently gated on editPermission. Run is the one confirmed to mismatch the backend; the others should be checked against their respective backend operations.

Note / dependency

For an admin to actually grant Trigger scoped to Ingestion Pipeline, the resource descriptor must also expose it (companion backend issue, linked below). Both changes are needed for full parity:

  • Without the backend change, admins can only grant Trigger via All Resources.
  • Without this UI change, the Run button shows for EditAll-only users and then 403s on click.

Related

Companion backend issue: #29467

Activity

  1. added this to Shipping and removed this from Roadmapon Jun 26, 2026
  2. moved this to In Review / QA 👀 in Shippingon Jun 26, 2026
  3. moved this from In Review / QA 👀 to Done ✅ in Shippingon Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions