summaryrefslogtreecommitdiff
path: root/testrig
diff options
context:
space:
mode:
authorLibravatar 9p4 <vcs@ersei.net>2024-02-27 10:07:29 -0500
committerLibravatar GitHub <noreply@github.com>2024-02-27 16:07:29 +0100
commit9bf448be7aa5e2468d5a6302d7c37ebad0f84176 (patch)
treec03e0079e84d8fd412cc23abc9ebb1b1118559e8 /testrig
parent[chore/docs] Various little docs updates (#2691) (diff)
downloadgotosocial-9bf448be7aa5e2468d5a6302d7c37ebad0f84176.tar.xz
[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
Diffstat (limited to 'testrig')
-rw-r--r--testrig/config.go2
1 files changed, 2 insertions, 0 deletions
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,