Bug 2139687
| Summary: | catalog shows template list for non-priv users | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Aviv Turgeman <aturgema> | ||||
| Component: | User Experience | Assignee: | Aviv Turgeman <aturgema> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.12.0 | CC: | gouyang, lkladnit | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.12.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2023-01-24 13:41:50 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: | |||||||
| Attachments: |
|
||||||
If the user has view permission to this project, the user should still see all templates in this project but not able to procedure. And refer to https://bugzilla.redhat.com/show_bug.cgi?id=2140539#c2, the error should come from the back-end, not UI implemented error. Verified on v4.12.0-158 (In reply to Leon Kladnitsky from comment #2) Verified on v4.12.0-160, mistake 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 Virtualization 4.12.0 Images 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-2023:0408 |
Created attachment 1921910 [details] catalog-crash Description of problem: The catalog shows the template list for users who do not have enough permissions to process a template under 'all-namespaces' or a specific namespace which is not allowed for example openshift-virtualization-os-images namespaces Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. navigate to Virtualization -> catalog and select openshift-virtualization-os-images namespce 2. pick any template the drawer will appear and the footer will have only Customize VirtualMachine and Cancel buttons, click Customize will lead to a crash 3. Actual results: Template list is shown and clickable Expected results: an Error should appear to say this namespace is not eligible for processing the template Additional info: