From 9bf448be7aa5e2468d5a6302d7c37ebad0f84176 Mon Sep 17 00:00:00 2001 From: 9p4 Date: Tue, 27 Feb 2024 10:07:29 -0500 Subject: [feature/oidc] Add support for very basic RBAC (#2642) * Add support for very basic RBAC * Add some small tests for allowedGroup and adminGroup * Switch to table-driven tests --- testrig/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testrig/config.go') diff --git a/testrig/config.go b/testrig/config.go index f8330ac14..5dbacc155 100644 --- a/testrig/config.go +++ b/testrig/config.go @@ -119,6 +119,8 @@ var testDefaults = config.Configuration{ OIDCClientSecret: "", OIDCScopes: []string{oidc.ScopeOpenID, "profile", "email", "groups"}, OIDCLinkExisting: false, + OIDCAdminGroups: []string{"adminRole"}, + OIDCAllowedGroups: []string{"allowedRole"}, SMTPHost: "", SMTPPort: 0, -- cgit v1.2.3