Create a default role on new scope creation (#265)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-08-13 17:39:48 -04:00
1 parent e89e9d1349
commit bb6b189513
10 files changed
+264 -70

No files matched your search

+1
View File
@@ -7,5 +7,6 @@ func DisabledAuthTestContext(opt ...Option) context.Context {
reqInfo := RequestInfo{DisableAuthEntirely: true}
opts := getOpts(opt...)
reqInfo.scopeIdOverride = opts.withScopeId
reqInfo.userIdOverride = opts.withUserId
return NewVerifierContext(context.Background(), nil, nil, nil, reqInfo)
}