Skip to content

change(GPTEINFRA-18832): show What's New to all non-partner users - #4004

Merged
aleixhub merged 1 commit into
mainfrom
GPTEINFRA-18832-whats-new-all-users
Nov 18, 2026
Merged

aleixhub merged 1 commit into
mainfrom
GPTEINFRA-18832-whats-new-all-users

Conversation

@aleixhub

Copy link
Copy Markdown
Contributor

Summary

  • Remove the isAdmin condition from the What's New nav link, so every user outside the rhdp-partners interface sees the link, the unread badge, and the latest-page redirect.
  • Drop accessControl: 'admin' from the /whats-new and /whats-new/:pageId routes so non-admins can open the page.
  • Update 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-new already 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 pass
  • tsc --noEmit clean
  • Log in as a non-admin user and confirm the What's New link appears and the page loads
  • Confirm the link stays hidden in the partner interface

🤖 Generated with Claude Code

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>
@aleixhub
aleixhub merged commit d1fc1ea into main Nov 18, 2026
8 checks passed
@aleixhub
aleixhub deleted the GPTEINFRA-18832-whats-new-all-users branch November 18, 2026 15:14
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