Skip to content

Show access group members and let admins move users between groups #1395

Description

@zZebrahz

Problem

Admin → Access groups shows how many members each group has, but not who they are. Moving someone to another group, and so changing their inherited policy, means finding each user and opening their profile one at a time.

Observed by the maintainer on build 807 · d4e35ba9.

At d4e35ba9:

  • web/src/pages/AdminAccessGroups.tsx shows only member_count. Its empty state says to “assign users to it from their profile”.
  • The Users table (web/src/pages/AdminUsers.tsx) has no group column. Its search matches only username and email, so members of a group can't be found there either.
  • Group assignment is edited only on the user detail page (AdminUserDetail.tsx).

Proposal

  • List members. In the group editor, list the group's members with links to their user pages.
  • Move members. Let admins select one or more members and move them to another group from the group editor.
  • Add members. An Add users action opens a searchable multi-select of eligible users: regular accounts not already in this group. Admins are excluded ([v1] User management / access groups / invites #1195 AC4). Each user's current group is shown, so the admin can tell who is moving from where.
  • Confirm first. Before saving either change, show how many users are affected and which policies will change for them.
  • Users table. Add an access-group column and filter.
  • Keep the existing rules: admin accounts can't join groups ([v1] User management / access groups / invites #1195 AC4), per-user overrides still take precedence, and changing a group signs out affected sessions the same way a single-user change does today.

Validation references

Observed while validating #1197 C1 (access groups and policies); parent #1195 AC2–AC3. Not marked as blocking.


AI-assisted: drafted with Claude Code (claude-opus-5-5) and GitHub CLI at the maintainer's direction. Source findings are at d4e35ba9; no agent runtime testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions