Bug 1777292

Summary: normal user see different behaviour on VM and VM Template page in other namespace
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED DUPLICATE QA Contact: Nelly Credi <ncredi>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: aos-bugs, gouyang
Target Milestone: ---   
Target Release: 4.4.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: 2020-02-07 11:45:56 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:
Description Flags
vm.png
none
template.png none

Description Guohua Ouyang 2019-11-27 10:45:54 UTC
Description of problem:
Login with a normal user, visit VM and VM templates in other namespace see different views.
- On VM page, the "Create with wizard" button is not showing, just like the looks on Pods page.
- On VM Template pages, it shows an error like below.
  templates.template.openshift.io is forbidden: User "test" cannot list resource "templates" in API group "template.openshift.io" in the namespace "default".


Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-11-21-122827

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
It seems only in "openshift" namespace, the error is not showing in VM template page.

Comment 1 Guohua Ouyang 2019-11-27 10:46:38 UTC
Created attachment 1640064 [details]
vm.png

Comment 2 Guohua Ouyang 2019-11-27 10:47:10 UTC
Created attachment 1640065 [details]
template.png

Comment 3 Tomas Jelinek 2020-02-07 11:45:56 UTC

*** This bug has been marked as a duplicate of bug 1793906 ***