Repository navigation
change(GPTEINFRA-18832): show What's New to all non-partner users - #4004
Merged
Merged
Conversation
Remove the admin-only gating from the What's New navigation link and routes so every user outside the rhdp-partners interface can see it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
isAdmincondition from the What's New nav link, so every user outside therhdp-partnersinterface sees the link, the unread badge, and the latest-page redirect.accessControl: 'admin'from the/whats-newand/whats-new/:pageIdroutes so non-admins can open the page.Navigation.spec.tsx: the non-admin test now expects the link to be shown; the partner-interface exclusion test is unchanged.The backend
GET /api/whats-newalready only requires an authenticated user, so no API change is needed.Test plan
jest src/app/AppLayout/Navigation.spec.tsx src/app/WhatsNew: 3 suites, 20 tests passtsc --noEmitclean🤖 Generated with Claude Code