Replies: 1 comment
-
We can simply invalidate them by setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
📋Description
I’d like to propose adding a "Manage Active Sessions" feature under User Preferences in Galaxy.
💬 Background:
I briefly discussed this idea with @bgruening, and we also tested the existing "Sign Out All" functionality in the EU instance. During this test, we noticed that it revoked all sessions except one⚠️ , which might be a potential bug. This observation further highlights the need for more granular session management.
Additionally, many modern platforms (e.g., Google, GitHub, Dropbox) offer similar functionality, allowing users to view and manage their active sessions for enhanced security and control. Implementing this feature would align Galaxy with these best practices.
🔎 Current Situation
Currently, Galaxy provides a "Sign Out All" button in the Settings section, which revokes access to all active sessions for a user. This action operates on the
galaxy_sessions
table, which stores key session-related information such as:create_time
,remote_host
,remote_addr
,is_valid
andlast_action
. While helpful, this approach lacks granularity. Users may want more control over their active sessions without having to sign out from all devices.When a user clicks "Sign Out All", the corresponding session rows are deleted from the
galaxy_sessions
table. While this effectively terminates the sessions, it raises a question:❓Should we delete the session records, or should we mark them as inactive (e.g., by setting is_valid = false)?
💡Proposed Feature
Add a "Manage Active Sessions" section where users can:
View all active sessions linked to their account, displaying details like:
Login timestamp (create_time)
Last activity (last_action)
IP address (remote_addr)
Device/Browser info (if feasible)
Revoke individual sessions selectively instead of signing out from all devices.
Session State Handling: Consider changing session revocation behaviour to mark sessions as inactive rather than deleting them, preserving session history.
✅ Benefits
⚙️ Technical Considerations
❓ Open Questions
Looking forward to hearing thoughts, feedback, and suggestions from the community! 🙌
Beta Was this translation helpful? Give feedback.
All reactions