Server admin 26: Role permission list #694

Closed
opened 2026-11-15 19:01:37 +00:00 by charles · 0 comments
Owner

Task 26 of the Server administration plan (docs/superpowers/plans/2026-11-15-serveradmin.md, section "### Task 26:"). The plan on the serveradmin branch is the source of truth; this copy is for reading.

Closes: —
Depends on: 10, 25

Files:

  • Create: crates/fluxer-ui/src/screens/entity_settings/permission_list.rs (the group, row and search components shared with Task 31)
  • Modify: crates/fluxer-ui/src/screens/entity_settings/guild/role_editor.rs
  • Test: crates/fluxer-ui/tests/roles_tab.rs (extend), crates/fluxer-ui/tests/screenshots.rs

Interfaces:

  • Produces: the permission list of the role editor (DLG/shared/PermissionComponents.tsx): the search field, group headings, each permission's title, description and switch, a disabled switch with its reason as tooltip, "Clear permissions"; the original's default (comfy, one column) layout; permission_list::{group, row} generic over a switch or tri-state control.

  • Tests: groups_and_rows_from_core_model, switch_emits_toggle, disabled_switch_emits_nothing_and_shows_reason, search_filters_rows, clear_permissions; goldens role_permissions, role_permissions_search, role_permissions_moderator_disabled.

  • Commit feat(ui): role permission list.

Task 26 of the Server administration plan (`docs/superpowers/plans/2026-11-15-serveradmin.md`, section "### Task 26:"). The plan on the `serveradmin` branch is the source of truth; this copy is for reading. **Closes:** — **Depends on:** 10, 25 **Files:** - Create: `crates/fluxer-ui/src/screens/entity_settings/permission_list.rs` (the group, row and search components shared with Task 31) - Modify: `crates/fluxer-ui/src/screens/entity_settings/guild/role_editor.rs` - Test: `crates/fluxer-ui/tests/roles_tab.rs` (extend), `crates/fluxer-ui/tests/screenshots.rs` **Interfaces:** - Produces: the permission list of the role editor (`DLG/shared/PermissionComponents.tsx`): the search field, group headings, each permission's title, description and switch, a disabled switch with its reason as tooltip, "Clear permissions"; the original's default (comfy, one column) layout; `permission_list::{group, row}` generic over a switch or tri-state control. - [ ] Tests: `groups_and_rows_from_core_model`, `switch_emits_toggle`, `disabled_switch_emits_nothing_and_shows_reason`, `search_filters_rows`, `clear_permissions`; goldens `role_permissions`, `role_permissions_search`, `role_permissions_moderator_disabled`. - [ ] Commit `feat(ui): role permission list`.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#694
No description provided.