Bug 1561076 - Duplicate RBAC Role and Group names allowed when using different capitalization from the original name
Summary: Duplicate RBAC Role and Group names allowed when using different capitalizati...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.9.2
Assignee: Hilda Stastna
QA Contact: Landon LaSmith
URL:
Whiteboard: rbac:webui
Depends On: 1537171
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-27 15:04 UTC by Satoe Imaishi
Modified: 2022-07-09 09:35 UTC (History)
9 users (show)

Fixed In Version: 5.9.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1537171
Environment:
Last Closed: 2018-05-07 20:47:22 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 0 None None None 2018-05-07 20:47:45 UTC

Comment 2 CFME Bot 2018-03-27 15:11:05 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/5e8f0c4d775db8d1d69a9ecd8f80a3018ba9d5f4
commit 5e8f0c4d775db8d1d69a9ecd8f80a3018ba9d5f4
Author:     Brandon Dunne <brandondunne>
AuthorDate: Mon Mar 26 16:11:17 2018 -0400
Commit:     Brandon Dunne <brandondunne>
CommitDate: Mon Mar 26 16:11:17 2018 -0400

    Merge pull request #17197 from hstastna/Duplicate_RBAC_Role_Group_names_capitalization

    Add case insensitivity when validating uniqueness of name of new group/role
    (cherry picked from commit ad57f99c011037384f8415ef6ae8ad41f75d81a8)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1561076

 app/models/miq_group.rb | 2 +-
 app/models/miq_user_role.rb | 3 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

Comment 3 Landon LaSmith 2018-04-18 19:11:18 UTC
VERIFIED IN 5.9.2.2. Each attempt to create a duplicate group(or role) with different capitalization from the original failed.

Comment 6 errata-xmlrpc 2018-05-07 20:47:22 UTC
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/RHSA-2018:1328


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