Show admin mode within active sessions view
What does this MR do and why?
Show admin mode within active sessions view
It is difficult to see if a session is within admin mode.
This MR adds the admin_mode to the active_user_session and extends the active sessions view to display which sessions are in admin mode.
Closes #438674 (closed)
Changelog: added
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Enable Admin Mode within Admin->Settings->General->Sign-in restrictions
- Enter Admin Mode via http://127.0.0.1:3000/admin/session/new
- Browse to http://127.0.0.1:3000/-/user_settings/active_sessions there is one session with Admin Mode
- Open a second browser and login
- Browse to http://127.0.0.1:3000/-/user_settings/active_sessions there is one session with Admin Mode and one without
Numbered steps to set up and validate the change are strongly suggested.
Edited by Roger Meier