-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat: logout other sessions on email change #33846
Conversation
6248964
to
1d02808
Compare
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.
I haven’t done a detailed review yet, but wanted to pass on some higher level thoughts. Thank you.
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.
Thanks. Some additional comments.
3bb06de
to
a86486b
Compare
I manually tested the following scenarios
Regarding masquerading, I interpreted it as the ability to view the platform as other users in the dashboard. I tested it by masquerading as other users in the dashboard, and everything worked as expected. However, if there's a different interpretation or specific aspects related to masquerading that require testing, please provide clarification. I would be happy to test that too. |
Yes. Just making sure masquerading still works appropriately when |
a86486b
to
e3f2c63
Compare
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.
I added a variety of thoughts. Good luck. You are welcome to reach out to others if you want to make steady progress before January.
fdecb1f
to
8806707
Compare
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.
Thanks for the updates. Looks good. Just minor requests and thoughts. Thanks.
99f30ff
to
8115c06
Compare
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.
Thank you. I'm going to see what you decide about some of my comments before trying to see if we have all the test cases covered.
1d32cec
to
7f12636
Compare
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.
Thank you. A minor comment (I hope). This is just about ready.
Lastly, once you make any final updates, if you could do one more manual check of masquerading, that would be great.
da7804b
to
2b22484
Compare
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.
Nice. Thank you.
if request.session.get('email', None) is None: | ||
# .. custom_attribute_name: session_with_no_email_found | ||
# .. custom_attribute_description: Indicates that user's email was not | ||
# stored in the user's session. |
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.
Nit: Since we are updating the session.
# stored in the user's session. | |
# yet stored in the user's session. |
2b22484
to
323a9f8
Compare
323a9f8
to
14e52bd
Compare
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master` Co-authored-by: syedsajjadkazmii <[email protected]>
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
Logout of other sessions on email change.