Created attachment 1861648 [details] templates display inconsistency Description of problem: Non-priviledged user can't select template in VM creation wizard, despite granted view role Version-Release number of selected component (if applicable): 4.10 How reproducible: 100% Steps to Reproduce: 1. Allow acess to cluster for non-privileged user by applying the htpasswd idp: https://github.com/openshift/console/blob/e4bd0786eb9232be1c2ea2194ae58f59a8be3f4d/test-prow-e2e.sh#L52 2. Grant non-privileged user view role to 'openshift', 'openshift-virtualization-os-images' and 'default' namespaces $ oc adm policy add-role-to-user view test -n openshift >> clusterrole.rbac.authorization.k8s.io/view added: "test" $ oc adm policy add-role-to-user view test -n openshift-virtualization-os-images >> clusterrole.rbac.authorization.k8s.io/view added: "test" $ oc adm policy add-role-to-user view test -n default >> clusterrole.rbac.authorization.k8s.io/view added: "test" 3. Login as test/test, switch to Admin Perspective 4. Open Virtualization -> Templates The templates are accessible, Create VM buttons work, VM can be created 5. Open Virtualization -> Virtual Machines, click 'Create virtual machine' button or 'Create' -> 'With wizard' Actual results: Templates are not available, Error message appears: templates.template.openshift.io is forbidden: User "test" cannot list resource "templates" in API group "template.openshift.io" at the cluster scope Expected results: Templates are listed, wizard can continue Additional info:
This is not a bug of 4.10.z anymore, close it.