Skip to content
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

fix(users-context): phantom user #20253

Open
wants to merge 3 commits into
base: v2.7.x-release
Choose a base branch
from

Conversation

Arthurk12
Copy link
Collaborator

What does this PR do?

Fixes phantom user bug by changing the logic of the context action 'add_user_persistent_data' that was not correctly handling the transition of user roles. Some users were left with wrong logged out status because the context logic only updated its state when the added user was logged out.

Closes Issue(s)

Closes #20251

Fixes the collection's selector when publishing it to viewers.
Changes the logic of the add_user_persistent_data action in users
context, so that the user information already in the context is merged
with the new one. Also, do not flip the logged out status of users added
by user_persisted_data anymore.
Copy link

sonarcloud bot commented May 14, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

Automated tests Summary

All the CI tests have passed!

@antobinary antobinary added this to the Release 2.7 milestone May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants