Update docs to include how to enable Admin Mode
Problem to solve
In the documentation for Admin Mode, the docs mention "When this feature is enabled ..." but no directions on how to enable it.
Further details
Proposal
Update Admin Mode documentation to include how to enable Admin Mode.
There are a few methods to enable:
- Via the API :
curl --request PUT --header "PRIVATE-TOKEN:$ADMIN_TOKEN" "<gitlab-url>/api/v4/application/settings?admin_mode=true"
- Via the Rails console:
::Gitlab::CurrentSettings.update_attributes!(admin_mode: true)
- Via the UI (General > Sign-in restrictions) :
Who can address the issue
Other links/references
Edited by Sophie Pouliquen