Disable navigation to Pages config if Pages is disabled
requested to merge markglenfletcher1/gitlab-ce:30529-remove-pages-tab-if-pages-isn-t-enabled into master
What does this MR do?
Disable navigation to Pages config if Pages is disabled
Are there points in the code the reviewer needs to double check?
Access to the configuration pages is disabled outright if pages is disabled. This doesn't take into account whether domains are already configured before pages is disabled
Why was this MR needed?
Issue argues that the Pages functionality should not be advertised to instance users if the feature has been disabled (or never enabled) by the administrator
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #30529 (closed)