Red Hat Bugzilla – Bug 1306638
Product Features for Role can be cleared
Last modified: 2016-07-13 05:12:50 EDT
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):
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
The Product features list is completely cleared.
The cancel process would leave the role in the state it was before editing.
New commit detected on ManageIQ/manageiq/master:
Author: Dávid Halász <email@example.com>
AuthorDate: Mon Feb 15 12:14:54 2016 +0100
Commit: Dávid Halász <firstname.lastname@example.org>
CommitDate: Fri Feb 26 16:54:36 2016 +0100
Do not save rbac features before validating them
app/controllers/ops_controller/ops_rbac.rb | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Detected commit referencing this ticket while ticket status is MODIFIED.
Good to go. Verified and working fine in 18.104.22.168-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.