Skip to content

Fix session action rendering race with identity lookup - #322

Open
christopher-svensson-stegra wants to merge 1 commit into
sol1:mainfrom
stegraab:sc-91872/session-permissions-race
Open

christopher-svensson-stegra wants to merge 1 commit into
sol1:mainfrom
stegraab:sc-91872/session-permissions-race

Conversation

@christopher-svensson-stegra

Copy link
Copy Markdown
Contributor

Keep session loading parallel with identity lookup, but render rows only once the caller’s role and ownership identity are known. Immediately render cached sessions when identity arrives, including for API-key users, instead of waiting for the next five-second poll. Show an explicit error if identity lookup fails.

Cover both response orders and role/ownership-dependent actions. Connections already loads folders after identity, so retain that implementation and add delayed-identity/credentials coverage for admin, operator and viewer roles. No backend authorization changes.

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.

1 participant