Admin > Geo > Projects Replication pages inaccessible with Admin Mode
Summary
Admin > Geo > Projects and Designs Replication pages are inaccessible when Admin Mode is enabled.
Steps to reproduce
- Set up Geo with Unified URL (this is reproducible on GDK)
- Enable Admin Mode
- Make sure your browser requests are sent to the secondary site
- Visit Admin > Geo > Replication (which should land on Projects)
- You'll get redirected back to the page you were already on and see a flash message
Admin mode already enabled
.
Example Project
What is the current bug behavior?
You'll get redirected back to the page you were already on and see a flash message Admin mode already enabled
.
What is the expected correct behavior?
You should land on the Projects Replication page.
Relevant logs and/or screenshots
Note that this happens with the Replication page for Designs too. SSF is unaffected.
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)