diff options
author | 2024-02-27 10:07:29 -0500 | |
---|---|---|
committer | 2024-02-27 16:07:29 +0100 | |
commit | 9bf448be7aa5e2468d5a6302d7c37ebad0f84176 (patch) | |
tree | c03e0079e84d8fd412cc23abc9ebb1b1118559e8 /testrig | |
parent | [chore/docs] Various little docs updates (#2691) (diff) | |
download | gotosocial-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.go | 2 |
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, |