Bug 1426118
| Summary: | Web should not add user to rolebinding again if the user is already in it | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> |
| Component: | Management Console | Assignee: | bpeterse |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.5.0 | CC: | aos-bugs, bpeterse, jforrest, jokerman, mmccomas, spadgett, xiaocwan, xxia, yapei |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | 1388060 | Environment: | |
| Last Closed: | 2017-05-22 20:02:57 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
Yanping Zhang
2017-02-23 08:57:37 UTC
Looking at this. Off the top of my head its probably <project1> bob, <project2> bob, from adding the namespace picker for service accounts, but not dropping the namespace for users. Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/07f75c4732c581b6ce09baa51e19e461aee09ac7 Fix bug 1426118, ignore namespace except for service account Verified on: oc v3.5.5.13 OpenShift Master: v3.5.5.13 Kubernetes Master: v1.5.2+43a9be4 Web console will pop up message 'The role "view" has already been granted to "test"' when add same role to the user again. From oc: # oc get rolebinding view NAME ROLE USERS GROUPS SERVICE ACCOUNTS SUBJECTS view /view user1 |