Retire gitlab_enable_admin_mode_sign_in
What does this MR do and why?
Follow up of Speed up admin feature specs (!139400 - merged)
Replace gitlab_enable_admin_mode_sign_in
helper for
enable_admin_mode!
.
This improves the developer experience: It creates a single function to access the admin area, with a parameter to switch between a fast or a slow mode.
I suggest to be reviewed in this fashion:
- First commit: remove the
gitlab_enable_admin_mode_sign_in
helper and modifyenable_admin_mode!
. - Second commit: deal with the special cases.
- Third commit: automatic replacement of all the rest of cases.
Screenshots or screen recordings
N/A
How to set up and validate locally
N/A
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Eduardo Sanz García