Draft: Hide prefill-variables in New Pipeline UI when variables are disabled
What does this MR do and why?
Implementation for #520072 (closed)
The reason we use a renderless component here is because we will reuse this logic. ex manual variables
Frontend: Abstract variables form in New pipeli... (#520831 - closed) must merge first.
Screenshots or screen recordings
| can view variables | cannot view variables |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Navigate to Build > Pipelines > New pipeline button in the top right
- In a separate tab, navigate to Settings > CI/CD > Variables to view the "Minimum role to use pipeline variables" setting
- Update the setting to "No one allowed". The new pipeline page should hide the variables form
- Update the settings to "Developer". The new pipeline page should show the variables form
Edited by Briley Sandlin

