Skip to content

Load server data only after the first-login role grant (CGE-192) - #66

Open
burnettk wants to merge 1 commit into
mainfrom
ensure-self-before-data
Open

burnettk wants to merge 1 commit into
mainfrom
ensure-self-before-data

Conversation

@burnettk

Copy link
Copy Markdown
Collaborator

On a first login, the home screen loaded CFPackages while ensure-self was still giving the user Author, with the token from before. The request got 403 until a reload.

The app now waits for ensure-self and its token refresh before it loads definitions, the framework list, or a framework from the URL, and before it shows a screen. If ensure-self fails, the app continues as before.

On a first login, the home screen loaded CFPackages while ensure-self was still giving the
user Author, with the token from before. The request got 403 until a reload.

The app now waits for ensure-self and its token refresh before it loads definitions, the
framework list, or a framework from the URL, and before it shows a screen.
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.

2 participants