Skip to content

refactor(frontend): migrate the role and group managers to EntityManagerPage (WI-1940) - #415

Merged
stefan-ernst merged 1 commit into
mainfrom
wi-1940-entity-manager-batch-4
Nov 1, 2026
Merged

stefan-ernst merged 1 commit into
mainfrom
wi-1940-entity-manager-batch-4

Conversation

@stefan-ernst

Copy link
Copy Markdown
Contributor

What

Fourth batch of WI-1940: migrate RoleManager and GroupManager onto the shared EntityManagerPage scaffold.

The scaffold gains an onReady callback that hands the page its reload function, so the group manager's member edits (which live in a separate members modal) can refresh the list the scaffold owns.

  • RoleManager keeps its read-only details modal and translation save outside the scaffold; the scaffold owns the list, the create modal and the delete confirm.
  • GroupManager keeps its members modal and uses dialog-confirm for the create/edit modal to match the existing test.

Behaviour preserved

  • Role view/delete dropdown actions and the is_system guard; group edit/members/delete actions and the is_system_group guard.
  • The member add/remove confirms (the remove confirm is scoped by the e2e page object).
  • The ldap/status row cells, the workspace-role-submit create button, and the inactive-group update payload.

Verification

  • bun run typecheck — 0 errors, 0 warnings
  • bun run check — all guards pass
  • Full core-tests frontend suite: 434 files, 3,231 tests, all pass
  • Playwright: groups (create/edit/delete, add/remove member) passes

Remaining follow-ups

EmailTemplateManager, RecurrenceManager, PackManager, IntegrationProviderManager, OAuthClientManager.

…gerPage (WI-1940)

Migrate RoleManager and GroupManager onto the shared scaffold.

The scaffold gains an onReady callback that hands the page its reload
function, so the group manager's member edits (which live in a separate
members modal) can refresh the list the scaffold owns.

RoleManager keeps its read-only details modal and translation save
outside the scaffold; the scaffold owns the list, the create modal and
the delete confirm. GroupManager keeps its members modal and uses
dialog-confirm for the create/edit modal to match the existing test.

Preserved: role view/delete dropdown actions, group edit/members/delete
actions, the is_system guards, the member add/remove confirms, and the
ldap/status row cells.
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

@stefan-ernst
stefan-ernst merged commit 53d5674 into main Nov 1, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant