-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI edge cases are not accomodated #63
Comments
I think that for all those situations it makes sense. @maxime-rainville for these scenarios does the section appear as empty or is it completely removed? I would imagine there would be a message saying there is no login sessions or that area would be completely missing. My preference is that the area is present with a message but that would mean potentially different messages for different cases unless we can create a generic one. |
TLDR None of those edge cases can be reached on a vanilla install of session manager, but it could be possible if third party dev give some members permissien to manage other users' sessions. Once #62 is merged, none of those scenarios will be possible in a vanilla install:
Things will get a little more complicated if devs decide to customise the behaviour. Assuming a scenario where you've created a role that allows you to view/manage other users session:
|
Noting that I don't see this issue being a priority to resolve before the initial beta/ stable release. When docs are created in #57 that outline the possibility of altering the behaviour to give privileged users access to other user sessions, we could make the recommendation that both CanView and CanDelete permissions should be provided, as a read-only view is not supported. |
A quick win could just be to not display logout session when the field is read-only. That's probably a 1-2 point job and would lead to less confusion than having some convoluted explanation in the doc. |
The SessionLoginField doesn't currently cater to the following edge cases:
Acceptance criteria
@silverstripeux
The text was updated successfully, but these errors were encountered: