Auth: Add disable of team sync for JWT Authentication (#62191)

* fix: disable team sync for JWT Authentication

* add: comment to test

* change test to conform to new expected behavior

* fix: spelling

* formatting
This commit is contained in:
Eric Leijonmarck
2023-01-27 16:05:25 +01:00
committed by GitHub
parent df2db3bb23
commit 5531e22f46
6 changed files with 39 additions and 10 deletions
+1
View File
@@ -37,6 +37,7 @@ type ExternalUserInfo struct {
OrgRoles map[int64]org.RoleType
IsGrafanaAdmin *bool // This is a pointer to know if we should sync this or not (nil = ignore sync)
IsDisabled bool
SkipTeamSync bool
}
func (e *ExternalUserInfo) String() string {