Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1533753

Summary: [trello R1ninKHf] Should display correctly roles created by user
Product: OpenShift Container Platform Reporter: shahan <hasha>
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.9.0CC: aos-bugs, jforrest, jokerman, mmccomas, spadgett
Target Milestone: ---Flags: bpeterse: needinfo+
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-24 15:07:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description shahan 2018-01-12 06:31:27 UTC
Description of problem:
Should display  correctly roles created by user 

Version-Release number of selected component (if applicable):
v3.9.0-alpha.2+f0d1fb1

How reproducible:
Always

Steps to Reproduce:
1.$ cat role.json
{
    "kind": "Role",
    "apiVersion": "v1",
    "metadata": {
        "name": "deleteservices"
    },
    "rules": [
        {
        "verbs": [
            "delete"
        ],
        "resources": [
            "services"
        ]
        }
    ]
}
oc create -f role.json
2. Login web console, goto 'Membership'->'Users' tab, add the deleteservices role to user
3. 

Actual results:
Although added a user with deleteservices role successfully, but not shown the roles of a user, also have not 'X' to delete the user with that role on web console.

Expected results:
Should display correctly roles created by user

Additional info:

Comment 1 bpeterse 2018-01-12 20:10:32 UTC
PR open to address this https://github.com/openshift/origin-web-console/pull/2655

Comment 3 shahan 2018-01-23 02:45:38 UTC
Tested this bug against OCP v3.9.0-0.22.0, could add/delete custom roles. Thanks!