Repository navigation
Show indicator for transient user in user sessions list in admin ui - #28882
Merged
hmlnarik merged 1 commit intoApr 19, 2024
Conversation
thomasdarimont
force-pushed
the
issue/GH-28879-show-transient-userlabel-in-sessions-list
branch
from
April 18, 2024 10:18
4f44052 to
072e81f
Compare
thomasdarimont
marked this pull request as ready for review
April 18, 2024 10:18
hmlnarik
suggested changes
Apr 18, 2024
Contributor
There was a problem hiding this comment.
Thank you for the PR!
The sessions now display the transientness of users in the main realm Sessions view, but it is not displayed for sessions displayed from a client's Sessions tab. A similar change to the one in the SessionsResource from this PR is needed in ClientResource.
thomasdarimont
force-pushed
the
issue/GH-28879-show-transient-userlabel-in-sessions-list
branch
2 times, most recently
from
April 18, 2024 16:24
59054d9 to
1544dec
Compare
Contributor
Author
|
Thanks @hmlnarik for the review! It now looks like that: |
thomasdarimont
force-pushed
the
issue/GH-28879-show-transient-userlabel-in-sessions-list
branch
from
April 18, 2024 16:26
1544dec to
9477945
Compare
…28879) For transient users a transient label is now shown in the realm sessions and client sessions list in the admin ui. Fixes keycloak#28879 Co-authored-by: Thomas Darimont <thomas.darimont@googlemail.com> Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com> Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
thomasdarimont
force-pushed
the
issue/GH-28879-show-transient-userlabel-in-sessions-list
branch
from
April 18, 2024 19:02
9477945 to
0c602df
Compare
hmlnarik
approved these changes
Apr 19, 2024
Contributor
There was a problem hiding this comment.
Thanks for the update @thomasdarimont!
The clients_saml_test.spec.ts failure is not caused by this PR, thus merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a transient user indicator to the user sessions listing.
transientlabel is now shown in the session list in the admin uitransientUsertoorg.keycloak.admin.ui.rest.model.SessionRepresentationFixes #28879
With this PR applied the UI looks like this:

Perhaps there could be a bit more spacing between the label and the username.