Skip to content

Update navigation when workspace permissions become available - #3

Merged
bartkozik merged 2 commits into
mainfrom
fix/workspace-navigation-permissions
Nov 5, 2026
Merged

bartkozik merged 2 commits into
mainfrom
fix/workspace-navigation-permissions

Conversation

@bartkozik

Copy link
Copy Markdown
Owner

On a fresh demo session, the workspace ID arrives after the navigation first renders. The menu previously checked an imperative local-storage value and did not subscribe to that change, leaving an Owner with only the Working time link until another navigation.

Resolve navigation permissions from the current workspace context, using the same organization-scoped check as route guards. A regression verifies links appearing when the Owner workspace loads and disappearing when a different workspace is selected.

@bartkozik
bartkozik merged commit 9ca8613 into main Nov 5, 2026
5 checks passed
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