Filter inactive and private oidc auth methods from unauthenticated list requests (#1110)

This commit is contained in:
Todd Knight authored and GitHub committed 2021-04-13 16:42:25 -07:00
1 parent ca57e50516
commit 072b950540
8 files changed
+155 -36

No files matched your search

+3 -1
View File
@@ -14,7 +14,9 @@ import (
func Test_GetOpts(t *testing.T) {
t.Parallel()
opts := getOpts()
assert.Equal(t, options{}, opts)
assert.Equal(t, options{
withUserId: AnonymousUserId,
}, opts)
withKms := new(kms.Kms)
res := new(perms.Resource)