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

Hide support navigation items from unauthorised users #461

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

steventux
Copy link
Contributor

Context

We've spotted a bug while deploying the DSI Support login PR where unauthorised (ie. logged in but without support org/role) can still see the 'Features' and 'Staff' navigation links.

Changes proposed in this pull request

Only render support nav links to authorised support users.

image

Guidance to review

Link to Trello card

Checklist

  • Attach to Trello card
  • Rebased main
  • Cleaned commit history
  • Tested by running locally

@steventux steventux merged commit 26e69cb into main Dec 6, 2023
12 checks passed
@steventux steventux deleted the hide-support-nav-items-from-unauthorised-users branch December 6, 2023 11:49
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