| Summary: | Cannot delete user role once it was associated with a user group | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Ramesh A <rananda> | ||||
| Component: | Appliance | Assignee: | Gregg Tanzillo <gtanzill> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Ramesh A <rananda> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.6.0 | CC: | abellott, jhardy, obarenbo, psavage | ||||
| Target Milestone: | GA | Flags: | rananda:
automate_bug+
|
||||
| Target Release: | cfme-future | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | configuration:tenant | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-08-21 13:07:12 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Github link - https://github.com/ManageIQ/manageiq/issues/7896 This bug has been open for more than a year and is assigned to an older release of CloudForms. If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms. This bug has been open for more than a year and is assigned to an older release of CloudForms. If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms. |
Created attachment 1147491 [details] Unable to delete the role Description of problem: Cannot delete user role once it was associated with a user group Version-Release number of selected component (if applicable): 5.6.0.1-beta2.20160413141124_e25ac0e How reproducible: 100% Steps to Reproduce: 1. Create a new user role 2. Create new user group and have it use the above created role 3. Try to delete the above created user role. This will correctly throw an error, because the role is linked to the above created group via entitlements table. 3. Delete the above created group 4. Now, try to delete the above user role. Actual results: Throws error message stating "Role "<role-name>": Error during delete: Cannot delete record because of dependent entitlements". Note: After this, you can no longer delete the user role. (even if we logout and login again) Expected results: Should be able to delete the role Additional info: evm.log: ======== [----] E, [2016-04-15T03:42:38.782328 #3051:f6c5fc] ERROR -- : MIQ(ops_controller-x_button): Role "ramesh-role": Error during delete: Cannot delete record because of dependent entitlements