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

[CURA-12076] Directly update permissions after login. #19615

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

rburema
Copy link
Member

@rburema rburema commented Sep 4, 2024

Otherwise you have to wait until the access token refreshes, and are in a weird state in between that time where you are logged in, and we even have the subscription-level, but the permission-list are empty. Now you just have to wait until the permissions return from the server after login, which shouldn't be a problem unless our users are speedrunners.

Otherwise you have to wait until the access token refreshes, and are in a weird state in between that time where you _are_ logged in, and we even have the subscription-level, but the permission-list are empty. Now you just have to wait until the permissions return from the server after login, which shouldn't be a problem unless our users are speedrunners.

fixes internal ticket CURA-12076
Copy link
Contributor

@wawanbreton wawanbreton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That totally makes sense !

@HellAholic HellAholic merged commit 6cf55cd into main Sep 5, 2024
9 checks passed
@HellAholic HellAholic deleted the CURA-12076_permissions_after_login branch September 5, 2024 14:12
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.

3 participants