Skip to content

Remove enableNewSecurityPage feature flag - #2604

Open
jvorcak wants to merge 2 commits into
masterfrom
UX-1450-remove-new-security-page-feature-flag
Open

Remove enableNewSecurityPage feature flag#2604
jvorcak wants to merge 2 commits into
masterfrom
UX-1450-remove-new-security-page-feature-flag

Conversation

@jvorcak

@jvorcak jvorcak commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The new security page is now the only implementation; enableNewSecurityPage is removed from FEATURE_FLAGS and all isFeatureFlagEnabled('enableNewSecurityPage') branches.
  • Collapsed the old/new dispatcher components (AclsTab, RolesTab, UsersTab, PermissionsListTab, RoleDetailPage, UserDetailsPage, SecurityLayout, SecurityTabsNav, AclDetailPage, plus links in overview.tsx and add-user-step.tsx) down to the new implementation, deleting the now-dead legacy components.
  • Deleted the legacy-only route pages (acl-create-page.tsx + its test, acl-update-page.tsx, role-update-page.tsx) and simplified their route files to unconditional redirects.
  • Deleted 11 E2E spec files (and the now-unused acl-page.ts/role-page.ts page objects) that existed solely to force the old UI via test.use({ featureFlags: { enableNewSecurityPage: false } }). Accepting this as a known E2E coverage gap rather than porting them to the new UI.

Test plan

  • bun run type:check
  • bun run lint
  • bun run test:unit (828 tests passing)
  • bun run test:integration (1246 tests passing)

The new security page is now the only implementation. Collapses the
old/new dispatcher components down to the new ones, deletes the
resulting dead legacy code and routes, and removes the E2E specs that
existed solely to force the old UI via the flag.
@github-actions

github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

🚨 Registry drift detected

App: frontend · Scope: diff vs origin/master · Files: 23

Count
⚠️ Outdated registry components 1
🛠 Locally-modified components 0
❓ Unknown to registry 0
🎨 Off-token palette colours 0
🔢 Ad-hoc utility classes 0
Components needing attention
Status Component Uses Detail
⚠️ outdated combobox installed 2.4.0 → latest 2.7.0

Refresh command:

bunx shadcn@latest add @redpanda/combobox --overwrite

Generated by lookout audit-changes.

Re-ports the ACL/permissions/user-management/deep-link E2E specs that
were dropped when enableNewSecurityPage was removed, targeting the new
UI directly instead of forcing the legacy one via the flag.
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