Create a default role on new scope creation (#265)
This commit is contained in:
1 parent
e89e9d1349
commit
bb6b189513
10 files changed
+264
-70
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user