Skip to content

Allow unlinking/removing Groups from the "Assign Groups" bulk dialog #1480

Description

@pabloldias

The "Assign Groups" bulk action (available when selecting multiple users in the Users listing) only allows adding a group to the selected users. There's no way to remove/unlink a group from them in the same dialog.

This makes it impractical to bulk-move multiple users from one group to another: you can add the new group to the selection, but you still have to edit each user individually to remove the old group.

Describe the solution you'd like

Add the ability to unlink/remove one or more groups from the selected users directly in the "Assign Groups" dialog, maybe using the same fieldtype available in the Edit User page, in addition to the existing "add" behavior. This would let admins bulk-move users between groups (add the new group, remove the old one) in a single action, instead of having to edit each user one by one.

Describe alternatives you've considered

Editing each user individually to remove the old group from the "Groups" field — not practical when moving many users at once.

Additional context

This was noticed in a separate bug report where removing a user from a Group does not remove the roles previously granted through that Group: statamic/cms#15183

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions