From a8498c2e8662b5b2d69facf8c275030d937ec611 Mon Sep 17 00:00:00 2001 From: Simon Murray Date: Wed, 27 Mar 2024 14:53:10 +0000 Subject: [PATCH] Add Groups RBAC --- charts/core/Chart.yaml | 4 ++-- pkg/authorization/roles/roles.go | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/core/Chart.yaml b/charts/core/Chart.yaml index 31d8b3a..1d96af5 100644 --- a/charts/core/Chart.yaml +++ b/charts/core/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart for deploying Unikorn Core type: application -version: v0.1.18 -appVersion: v0.1.18 +version: v0.1.19 +appVersion: v0.1.19 icon: https://assets.unikorn-cloud.org/images/logos/dark-on-light/icon.svg diff --git a/pkg/authorization/roles/roles.go b/pkg/authorization/roles/roles.go index f32fe04..c5c078f 100644 --- a/pkg/authorization/roles/roles.go +++ b/pkg/authorization/roles/roles.go @@ -105,6 +105,12 @@ func New() *RoleManager { Read, Update, }, + "groups": Permissions{ + Create, + Read, + Update, + Delete, + }, "oauth2provider:public": Permissions{ Read, },