Skip to content

Use runner userPermissions to show list actions

Miguel Rincon requested to merge 334802-user-permissions-in-fe-list into master

What does this MR do and why?

This change hides actions (buttons and links) in the runner list according to the runner 'userPermissions'. This allows the backend rules to control when a runner modified or deleted and have the rules directly reflected in the frontend.

This prepares the runner list for display in non-admin views, no user-facing changes are expected.

Screenshots or screen recordings

These are the related controls, with no user-facing changes:

Screen_Shot_2021-12-30_at_4.53.03_PM

How to set up and validate locally

  1. Visit the admin runners page
  2. Confirm all the actions are still available.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #334802 (closed)

Edited by Miguel Rincon

Merge request reports