-
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
BUG Only allow the owner of a LoginSession to view/delete it #62
BUG Only allow the owner of a LoginSession to view/delete it #62
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good, minor changes only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, very minor alternation to docs (add a namespace to the sample extension)
Found an issue during manual testing, noticed that a non-admin user isn't able to revoke their own sessions. My test user was in the group "Content authors". When that user attempted to revoke a session I see a red toast "Could not log out of session. Try again later" |
I don't think it's a CanView/CanDelete problem. Checked out the 1 branch and got the same result. The problem is probably that non-admin users are not allowed to interact with the |
Have agreed to split of non-admin revoking as a separate issue #67 |
Fixes #57