Auth: Remove oauth skip org role sync (#84972)
* remove oauth wide skip org role sync * we are warning from config * set it to false * removed from config ini files and updated docs
This commit is contained in:
@@ -162,9 +162,6 @@ func (c *OAuth) Authenticate(ctx context.Context, r *authn.Request) (*authn.Iden
|
||||
}
|
||||
|
||||
orgRoles, isGrafanaAdmin, _ := getRoles(c.cfg, func() (org.RoleType, *bool, error) {
|
||||
if c.cfg.OAuthSkipOrgRoleUpdateSync {
|
||||
return "", nil, nil
|
||||
}
|
||||
return userInfo.Role, userInfo.IsGrafanaAdmin, nil
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user