You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title:
User Deleted When Assigned Custom Role is Removed
Description:
When a new custom role is created and assigned to a user, deleting the custom role also results in the deletion of the assigned user. This behavior is unexpected and may lead to data loss. The user should remain intact even if the assigned role must get a warning message.
Steps to Reproduce:
Navigate to Admin > Settings > Roles and create a new custom role.
Assign the custom role to a newly created user.
Delete the custom role from the system.
Observe that the user assigned to the role is also deleted.
Expected Behavior:
Deleting a custom role should not delete the associated user. The user should retain access with default or alternative permissions. Also in addition we can put a warning message which can stop preventing deletion of custom role. Example -> Role already assigned to User.
Actual Behavior:
The assigned user is deleted along with the custom role.
Acceptance Criteria:
Users should not be deleted when a custom role is removed.
Display a warning or prompt if the role has active user associations.
Assign a default role or revoke access gracefully if necessary.
Additional Context:
Warning.should.appear.mp4
The text was updated successfully, but these errors were encountered:
Title:
User Deleted When Assigned Custom Role is Removed
Description:
When a new custom role is created and assigned to a user, deleting the custom role also results in the deletion of the assigned user. This behavior is unexpected and may lead to data loss. The user should remain intact even if the assigned role must get a warning message.
Steps to Reproduce:
Expected Behavior:
Deleting a custom role should not delete the associated user. The user should retain access with default or alternative permissions. Also in addition we can put a warning message which can stop preventing deletion of custom role.
Example -> Role already assigned to User.
Actual Behavior:
The assigned user is deleted along with the custom role.
Acceptance Criteria:
Additional Context:
Warning.should.appear.mp4
The text was updated successfully, but these errors were encountered: