Bug 2046156

Summary: Network policy: preview of affected pods for non-admin shows empty popup
Product: OpenShift Container Platform Reporter: Joel Takvorian <jtakvori>
Component: Management ConsoleAssignee: Joel Takvorian <jtakvori>
Status: CLOSED ERRATA QA Contact: Mehul Modi <memodi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: jhadvig, spadgett
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:43:43 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 Joel Takvorian 2022-01-26 10:18:21 UTC
Initial description of the problem in JIRA (netobserv project/team) : https://issues.redhat.com/browse/NETOBSERV-172

Description of problem:

When user is logged as as developer/non-admin, they only have access to their own projects by default. When creating a network policy:
1. Add Ingress/Egress rule
2. Select "Allow traffic from pods inside the cluster"
3. When clicked on the "affected pods", the pop up shows empty and the console shows 403 (Forbidden), because user doesn't have privileges to see pods of projects that in rest of the cluster.

Comment 7 errata-xmlrpc 2022-08-10 10:43:43 UTC
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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069