Skip to content

Hide admin navigation from non-admins - #7

Merged
BraydenLangley merged 1 commit into
masterfrom
codex/hide-admin-navigation
Sep 2, 2026
Merged

Hide admin navigation from non-admins#7
BraydenLangley merged 1 commit into
masterfrom
codex/hide-admin-navigation

Conversation

@BraydenLangley

Copy link
Copy Markdown
Contributor

Summary

  • render the Admin navigation item only when passive server status confirms the current session is an admin
  • keep the item hidden while status is loading and for guest/non-admin sessions
  • do not initiate wallet authentication or request an identity key during ordinary browsing
  • preserve direct admin routes and server-side authorization

Validation

  • npm test (10 files, 29 tests)
  • npm run lint
  • npm run typecheck
  • npm run build
  • git diff --check

@BraydenLangley
BraydenLangley merged commit a62c8c4 into master Sep 2, 2026
1 check passed
@BraydenLangley
BraydenLangley deleted the codex/hide-admin-navigation branch September 2, 2026 18:30
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