Hide Run pipeline button from users with inadequate permission

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

When a user, with inadequate permission to run or retry pipeline on a protected branch come to the pipeline index page, they still see the action triggers as active only to realize later that they can't really perform teh action, with reason unexplained.

GIF
9EemyPxTOI

Intended users

User experience goal

Users should not be shown the actions they couldn't perform as active.

Proposal

Don't show Retry failed and delayed jobs action button to users who do not have permission to run a pipeline on the branch for which the pipeline has run.

Further details

Permissions and Security

Documentation

Availability & Testing

Available Tier

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖