Bug 2117142 - Update the permission for Project Helm Chart Repository
Summary: Update the permission for Project Helm Chart Repository
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.12
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: 4.12.0
Assignee: kmamgain
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks: 2117640
TreeView+ depends on / blocked
 
Reported: 2022-08-10 06:06 UTC by kmamgain
Modified: 2023-01-17 19:54 UTC (History)
3 users (show)

Fixed In Version: 4.12
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:54:37 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console-operator pull 667 0 None open Bug 2117142: Update permission for projecthelmchartrepositories with an aggregator role 2022-08-11 13:36:13 UTC
Github openshift console-operator pull 673 0 None open Bug 2117142:update annotations for project-helm-chartrepository-editor 2022-08-19 04:08:36 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:54:54 UTC

Comment 2 Xiyun Zhao 2022-08-19 03:40:29 UTC
@kmamgain
Hi, could you help to add the fix PR for the issue of "project-helm-chartrepository-editor" cannot be searched on OCP

Comment 3 Xiyun Zhao 2022-08-23 02:29:45 UTC
This PR has been verified on payload 4.12.0-0.nightly-2022-08-22-143022

Verification Step:
1. Login OCP as administrator, go to Home -> Search page and select the resources "ClusterRole"
2. Check if the new added ClusterRole "project-helm-chartrepository-editor" could be found
3. Change the perspective to "Developer", go to the "Helm" page, and click one project (eg: default)
4. Check if a new Tab - "Repositories" could be found on Helm page
5. Navigate to "Repositories" page
6. Check if the user can check the existing repositories data list
7. Click the 'Create' button on the top right corner of the Helm page
8. Check if a new option "Repository" is listed on the dropdown list of "Create" button
9. Click and check if user is able to create Helm Chart Repository successfully
10. Repeat Step1-9 for a normal user 

Result:
2. the new added ClusterRole "project-helm-chartrepository-editor" could be found on page, and user can check the details for the CR normally
4. A new Tab "Repositories" has been added on Helm page
6. A default HCR-"openshift-helm-charts" is listed on the Repositories page 
   (Note: normal user cannot find the HCR in the Repositories list due to permission settings)
8. User is able to create a repository by clicking the create button on Helm page
9. User can create repositories successfully and the new added PHCR can be found on the repositories list

Comment 6 errata-xmlrpc 2023-01-17 19:54:37 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 (Moderate: OpenShift Container Platform 4.12.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:7399


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