mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 05:02:35 +08:00
Remove the bus from teamgroupsync (#29810)
* Add fake TeamSyncService * Change SyncTeams dispatch to direct method call * Remove SyncTeamsCommand struct * Move TeamSyncService to a separate package * Remove context from SyncTeams args * Add comments to teamsyncgroup package Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com> * Replace TeamSyncService with TeamSyncFunc * Remove unnecessary error check * Add a test * Fix test input Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
This commit is contained in:
@ -122,8 +122,3 @@ type GetTeamsForLDAPGroupCommand struct {
|
||||
Groups []string
|
||||
Result []TeamOrgGroupDTO
|
||||
}
|
||||
|
||||
type SyncTeamsCommand struct {
|
||||
ExternalUser *ExternalUserInfo
|
||||
User *User
|
||||
}
|
||||
|
Reference in New Issue
Block a user