Feature #42441
openImprove error message on role deletion by listing projects using the role
0%
Description
Currently, when attempting to delete a role that is in use, the following message is displayed: This role is in use and cannot be deleted.
However, this message does not provide enough information to understand which projects are using the role and how to resolve the issue.
Proposal:
Enhance the error message to include a list of projects where this role is currently assigned to members.
For example:
Clicking on the project link will take you to the members tab of the settings for that project.
This way, the user can easily identify which project members they need to update before they can delete the role.
A similar improvement was made in #12521 to display detailed information in error messages for better guidance.
Files
Updated by Mizuki ISHIKAWA 13 days ago
- File 0001-Improve-role-deletion-error-message-to-display-proje.patch 0001-Improve-role-deletion-error-message-to-display-proje.patch added
Attached is a patch that adds a project link to the error message