Description of problem:
Create Role and ClusterRole with same name. Create a Role binding for Role, and check the ClusterRole page -> Role Binding sub page. It also display the binding.
Version-Release number of selected component (if applicable):
registry.reg-aws.openshift.com:443/openshift3/ose-console v3.11 e174a3b28f9a
Steps to Reproduce:
1. Create namespaced Role and ClusterRole with same name.
$ oc get role -n yapei-2
# oc get clusterrole | grep example
2. Create a RoleBinding for namespaced Role
# oc get rolebinding -n yapei-2
NAME ROLE USERS GROUPS SERVICE ACCOUNTS SUBJECTS
example1rb yapei-2/example1 yapei1
# oc get clusterrolebinding | grep example
3. check the ClusterRole page -> Role Binding sub page.
3. ClusterRole also displays the binding.
Name Role Ref .....
RB:example1rb R:example1 .....
3. ClusterRole should not display the binding.
Created attachment 1685583 [details]
correct verification screenshot
Thanks for the fix!
This is not reproduced now (refer to "correct verification screenshot")
Verified on 4.5.0-0.nightly-2020-05-06-003431
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.