Frontend only:Operations tab interferes with the CI/CD settings page
Summary
Disabling a project's Operations tab will result in the CI/CD settings page giving out a "There was an error fetching the environments information." and failed API request with status code 403 in the console.
Steps to reproduce
- Go to Settings -> General -> Visibility etc
- Disable the Operations tab.
- Go to Settings -> CI/CD
What is the current bug behavior?
Just what I typed above, haven't noticed some other behaviour.
What is the expected correct behavior?
There shouldn't be an error just because a tab got disabled.
Relevant logs and/or screenshots
Implementation Table
Group | Issue Link |
---|---|
backend | #381095 (closed) |
frontend |
|
Proposal
Front End Only
- Hide all variables that are not assigned
All (default)
. - Do not show the environments dropdown if there is no
read_environment
access - The front end sends back '*' i.e.
All (default)
for all new variables if it doesn't haveread_environment
access
Edited by Mark Nuzzo