mirror of https://github.com/portainer/portainer
fix user not able to get nodes (#5950)
parent
90a18b5ded
commit
40a6645e23
|
@ -9,7 +9,7 @@ import (
|
||||||
func getPortainerUserDefaultPolicies() []rbacv1.PolicyRule {
|
func getPortainerUserDefaultPolicies() []rbacv1.PolicyRule {
|
||||||
return []rbacv1.PolicyRule{
|
return []rbacv1.PolicyRule{
|
||||||
{
|
{
|
||||||
Verbs: []string{"list"},
|
Verbs: []string{"list", "get"},
|
||||||
Resources: []string{"namespaces", "nodes"},
|
Resources: []string{"namespaces", "nodes"},
|
||||||
APIGroups: []string{""},
|
APIGroups: []string{""},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue