Skip to content

Operations and Kubernetes option should be omitted when repository or builds are disabled

What does this MR do?

When repository or builds were disabled both Operations and Kubernetes option were shown in the sidebar, which would return in a 403/404 (depending on permissions) and the Kubernetes page working as normal. These pages should be omitted when the scenario is verified.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Before

Screen_Shot_2018-06-14_at_11.37.21

After

Screen_Shot_2018-06-14_at_11.37.43

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #47631 (closed)

Edited by Rémy Coutable

Merge request reports