Bug 1931349

Summary: Only one rolebinding subject is shown in the console
Product: OpenShift Container Platform Reporter: oarribas <oarribas>
Component: Dev ConsoleAssignee: cvogt
Status: CLOSED DUPLICATE QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: low    
Version: 4.6CC: aballant, aos-bugs, jokerman, nmukherj, oarribas
Target Milestone: ---   
Target Release: ---   
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: 2021-02-22 16:13:41 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 oarribas 2021-02-22 09:24:22 UTC
Description of problem:

If a rolebinding with more than one subject is created, the console only shows one of them.


Version-Release number of selected component (if applicable):

OpenShift 4.6 (probably all versions)


How reproducible:

Creating a rolebinding with several subjects and check in the console. Only one  user is shown.


Steps to Reproduce:
1. Create a rolebinding with several subjects:
~~~
$ cat proj_admin.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: proj_admin
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: admin
subjects:
- apiGroup: rbac.authorization.k8s.io
  kind: User
  name: test01
- apiGroup: rbac.authorization.k8s.io
  kind: User
  name: test02
- apiGroup: rbac.authorization.k8s.io
  kind: User
  name: test03
~~~

2. Apply the rolebinding:
~~~
$ oc apply -f proj_admin.yaml
~~~

3. Check in the console > project > Project Access tab, only one user is shown.



Actual results:

Only one user is shown in the console.


Expected results:

All the users in the rolebinding should be shown.


Additional info:

Comment 3 Jakub Hadvig 2021-02-22 12:45:30 UTC
Looks like a 4.6 issue in the DevConsole. Re-assigning to them.

Comment 4 Andrew Ballantyne 2021-02-22 16:13:41 UTC
This is already planned for a 4.6.z stream. See BZ#1924437

*** This bug has been marked as a duplicate of bug 1924437 ***