As a user wishing to manage roles and users, I cannot easily remove a role.
|Assigned To:||Shlomi Zadok|
|Target version:||Team Marek Iteration 4|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/3922|
|Velocity based estimate||-|
This issues manifests itself in two forms:
1. If I have Role A, being used by User B and I attempt to delete Role A, I am presented with an error message "Role is still in use".
2. If I have Role A being used by 25 users, and I wish to delete Role A, I must find every user using Role A, remove the Role from each individual user and then delete the role.
#7 Updated by Daniel Lobato Garcia over 1 year ago
We have had this problem with Organizations/Locations too, where removing them is a real PITA (find all objects associated), Environments, and proxies... If we can have a 'generic' approach to this operation that we can apply with any object that deleting it leaves orphans that have to be fixed, that'd be great