Skip to content

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

🛠 with at Siemens

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
image image

How to set up and validate locally

  1. Enable Admin Mode within Admin->Settings->General->Sign-in restrictions
  2. Enter Admin Mode via http://127.0.0.1:3000/admin/session/new
  3. Browse to http://127.0.0.1:3000/-/user_settings/active_sessions there is one session with Admin Mode
  4. Open a second browser and login
  5. 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

Merge request reports