Update manual job message for protected jobs
What does this MR do and why?
Related to #346796 (closed)
It changes the message for manual jobs that have protected environments when the users don't have the permissions to trigger those jobs.
Screenshots or screen recordings
Before:
After:
How to set up and validate locally
- Create a new project
- Configure the CI to have a manual job with an environment
- Set up protected environments to maintainers only https://docs.gitlab.com/ee/ci/environments/protected_environments.html#protecting-environments
- Create a new pipeline
- Invite a user to the project as a developer
- Login as the developer and go to the deployment job
- The developer should see the new message
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Marius Bobin