Bug 2099330 - Edit application grouping is shown to user with view only access in a cluster
Summary: Edit application grouping is shown to user with view only access in a cluster
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.11.0
Assignee: Vikram Raj
QA Contact: spathak@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2022-06-20 15:10 UTC by Debsmita Santra
Modified: 2022-08-10 11:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-08-10 11:18:42 UTC
Target Upstream Version:

Attachments (Terms of Use)
Edit appliation grouping is enabled (60.42 KB, image/png)
2022-06-20 15:10 UTC, Debsmita Santra
no flags Details

System ID Private Priority Status Summary Last Updated
Github openshift console pull 11745 0 None Waiting on Customer Egress traffic correct mac address leaves the cluster wrong one comes back 2022-06-27 15:55:49 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:18:56 UTC

Description Debsmita Santra 2022-06-20 15:10:46 UTC
Created attachment 1891341 [details]
Edit appliation grouping is enabled

Description of problem:
A user with View-only access is shown the `Edit application grouping` 
in the topology context menu and side panel

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

How reproducible:

Steps to Reproduce:
1. Login as kubeadmin and deploy an application 
2. Create a non-kubeadmin user 
2. Create cluster-scoped role binding with the role as `View` and subject name as the name of the user
3. log in as the newly created user
4. Right-click on the deployed application

Actual results:
`Edit application grouping` is enabled

Expected results:
`Edit application grouping` should be disabled for users with view-only access

Additional info:

Comment 6 Sparsh Kesari 2022-06-28 09:59:31 UTC
Verified on 4.11.0-0.nightly-2022-06-25-132614
Verified on browser version 103.0 chrome

Comment 9 errata-xmlrpc 2022-08-10 11:18:42 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.


Note You need to log in before you can comment on or make changes to this bug.