Description of problem: If you clear all of the product features from a role, you recieve and error saying that "At least one Product Feature must be selected". If you cancel out after that, the role is saved with all the product features removed, and users with that role will not be able to log into the appliance. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Edit a role of your choice. 2. Unselect the top box "Everything" 3. Attempt to save 4. After reading the error message, cancel out of the editing process Actual results: The Product features list is completely cleared. Expected results: The cancel process would leave the role in the state it was before editing. Additional info:
https://github.com/ManageIQ/manageiq/pull/6663
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1e60f11176956f62cee927136de19f27af8e32d6 commit 1e60f11176956f62cee927136de19f27af8e32d6 Author: Dávid Halász <dhalasz> AuthorDate: Mon Feb 15 12:14:54 2016 +0100 Commit: Dávid Halász <dhalasz> CommitDate: Fri Feb 26 16:54:36 2016 +0100 Do not save rbac features before validating them https://bugzilla.redhat.com/show_bug.cgi?id=1306638 app/controllers/ops_controller/ops_rbac.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
https://github.com/ManageIQ/manageiq/pull/6946
Detected commit referencing this ticket while ticket status is MODIFIED.
Good to go. Verified and working fine in 5.6.0.4-beta2.3.20160421172650_719e256
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348