Authn: allow ResolveIdentity to authenticate in "global" scope (#85835)

* Authn: allow ResolveIdentity to authenticate in "global" scope

* Use constant
This commit is contained in:
Karl Persson
2024-04-10 11:53:45 +02:00
committed by GitHub
parent a3ed1855ff
commit ebb4bb859e
3 changed files with 10 additions and 0 deletions
+2
View File
@@ -59,6 +59,8 @@ type ClientParams struct {
SyncPermissions bool
// FetchPermissionsParams are the arguments used to fetch permissions from the DB
FetchPermissionsParams FetchPermissionsParams
// AllowGlobalOrg would allow a client to authenticate in global scope AKA org 0
AllowGlobalOrg bool
}
type FetchPermissionsParams struct {