mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
fix standard user not able to access nodes stats (#5951)
This commit is contained in:
parent
988efe6b02
commit
b5ec8c52fb
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,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…
Add table
Add a link
Reference in a new issue