Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2117142

Summary: Update the permission for Project Helm Chart Repository
Product: OpenShift Container Platform Reporter: kmamgain
Component: Management ConsoleAssignee: kmamgain
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.12CC: jhadvig, spadgett, yapei
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 4.12 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:54:37 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:
Bug Depends On:    
Bug Blocks: 2117640    

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