You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gate ingestion pipeline Run action on Operation.Trigger instead of EditAll (UI/backend permission mismatch since 1.12.9) #29468
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 notTrigger sees the Run button but gets a 403 when they click it.
A user with Trigger but notEditAll 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.
// 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.
Activity