Skip to content

Add Mass Detach Functionality to RolesRelationManager #4234

@AxonC

Description

@AxonC

Summary

Implement a mass detach feature for roles in the RolesRelationManager. Currently, roles can only be removed individually. The new functionality should allow users with requisite permissions to select and remove multiple roles at once.

image1

Rationale

  • Improves efficiency for administrators and managers who need to detach several roles in one action.
  • Reduces repetitive UI interactions and saves time, especially for accounts with many roles.

Implementation Steps

  1. UI Update

    • Add checkboxes next to each role in the roles list to allow multi-selection.
    • Include a “Detach Selected” button above or below the list for bulk detachment.
    • Ensure the UI remains consistent with the styling and conventions used elsewhere in the application.
  2. Bulk Action

    • Implement backend logic to handle detaching multiple roles in a single request.
    • Validate permissions so only authorized users can perform bulk detach actions.
  3. Feedback

    • Provide user feedback after bulk detach (success message, error handling, etc.).
  4. Testing

    • Test both individual and bulk detach actions to ensure reliability.
    • Verify that UI changes work across different panels and roles.
  5. Documentation

    • Update user and developer documentation to explain the new mass detach feature.

Additional Context

  • See attached screenshot for current UI state: image1

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions