-
Notifications
You must be signed in to change notification settings - Fork 75
Labels
Description
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.
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
-
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.
-
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.
-
Feedback
- Provide user feedback after bulk detach (success message, error handling, etc.).
-
Testing
- Test both individual and bulk detach actions to ensure reliability.
- Verify that UI changes work across different panels and roles.
-
Documentation
- Update user and developer documentation to explain the new mass detach feature.
Additional Context
Reactions are currently unavailable