Red Hat Bugzilla – Bug 831106
Own user role security manager permissions change leads to "RuntimeException" and "Failure" alert on GUI.
Last modified: 2015-09-02 20:03:46 EDT
Created attachment 591129 [details]
Description of problem:
User with Security manager enabled is disabling it from administration page, after which Administration page is not being visible for that user anymore: Runtime Exception is being thrown with "Warning: Server returned FAILURE with no error message" alert on GUI.
Version-Release number of selected component (if applicable):
JON - Version: 3.1.0.ER6
Steps to Reproduce:
1.Log in with rhqadmin super user
2.Create role "testRole" with Security Manager switched on (like super admin)
3.Create "testUser" user with this role
4.Log in with "testUser"
5. Click on Administraiton -> Roles -> testRole
6. Uncheck Security manager (also manage Inventory, manage Settings, manage bundles, manage Repositories) checkboxes and save role
7. Click on testRole link
Warning alert is being shown
Runtime Exception is being thrown in messages Center
testRole should be not clickable anymore (as it is after the page refresh)
please get attached screenshots
Created attachment 591130 [details]
Recommend low priority or won't fix. A user removing his own manage_security perm seems like a real corner case.