Bug 1390969 - Unable to add a new role
Summary: Unable to add a new role
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Harpreet Kataria
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard: ui:configuration:rbac:role
: 1390115 1391056 1391699 (view as bug list)
Depends On:
Blocks: 1392971
TreeView+ depends on / blocked
 
Reported: 2016-11-02 10:30 UTC by Ramesh A
Modified: 2017-06-12 17:22 UTC (History)
9 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1392971 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:22:11 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
rananda: automate_bug-


Attachments (Terms of Use)
error (166.71 KB, image/png)
2016-11-02 10:30 UTC, Ramesh A
no flags Details

Description Ramesh A 2016-11-02 10:30:06 UTC
Created attachment 1216463 [details]
error

Description of problem:
Unable to add a new role 

Version-Release number of selected component (if applicable):
5.7.0.9-beta2.1.20161101182054_eb0afaa

How reproducible:
Very

Steps to Reproduce:
1. Try to create a new role from Settings ==> Configuration ==> Access Control ==> Roles ==> Configuration ==> Add a new Role


Actual results:
Throws unwanted error message "Password can't be blank" and "Userid can't be blank"

Expected results:
Should be able to add role successfully

Additional info:
evm.log:
========
[----] E, [2016-11-02T06:21:25.377593 #3100:15da524] ERROR -- : MIQ(ops_controller-rbac_role_edit): Password can't be blank
[----] E, [2016-11-02T06:21:25.377790 #3100:15da524] ERROR -- : MIQ(ops_controller-rbac_role_edit): Userid can't be blank

Comment 2 Dan Clarizio 2016-11-02 19:00:43 UTC
*** Bug 1391056 has been marked as a duplicate of this bug. ***

Comment 4 Harpreet Kataria 2016-11-02 21:55:15 UTC
*** Bug 1390115 has been marked as a duplicate of this bug. ***

Comment 5 Harpreet Kataria 2016-11-02 21:56:09 UTC
This issue has already been fixed in https://github.com/ManageIQ/manageiq/pull/11999.

Comment 6 Dan Clarizio 2016-11-04 22:40:15 UTC
*** Bug 1391699 has been marked as a duplicate of this bug. ***

Comment 7 CFME Bot 2016-11-07 23:16:16 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/02b4259290fc3b92799fbe611b0688c699eea583

commit 02b4259290fc3b92799fbe611b0688c699eea583
Author:     Martin Povolny <mpovolny>
AuthorDate: Tue Oct 18 09:57:16 2016 +0200
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Nov 7 18:13:24 2016 -0500

    Merge pull request #11999 from h-kataria/user_role_add_fix
    
    Fixed class name and key name in add/edit of user role code
    (cherry picked from commit 17bc43fcb6893b14737a5a63f7fddbdf404ed295)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1390969

 app/controllers/ops_controller/ops_rbac.rb       |  2 +-
 spec/controllers/ops_controller/ops_rbac_spec.rb | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)

Comment 9 Niyaz Akhtar Ansari 2017-03-08 11:57:13 UTC
Verified in version 5.8.0.4


Note You need to log in before you can comment on or make changes to this bug.