Hide Forgot
Created attachment 1773381 [details] Screenshot of issue Description of problem: On the user details page - role bindings tab; unrelated subjects can be listed in the table if the user is assigned to a ClusterRoleBinding that includes other subjects. Version-Release number of selected component (if applicable): 4.6.16 How reproducible: Always Steps to Reproduce: 1. Create a user 2. Assign the user to a ClusterRoleBinding that includes other subjects (users, groups, SAs) 3. Go to the user's details page -> Role Bindings tab 4. Observe information unrelated to the user listed in the table Actual results: See unrelated Users, Groups, and ServiceAccounts on a user's details page. Expected results: Only see the role binding information related to the target user. Additional info:
Created attachment 1774032 [details] more rolebindings are shown with different subject
Created attachment 1780140 [details] user-rolebinding
Created attachment 1780141 [details] group-rolebinding
Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-05-05-135043. Add cluster rolebinding to user and group, check on RoleBindings tab of the user and group, only the user or group related rolebindings are shown in the table. The bug is fixed.
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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-2021:2438