[MM-60253] Avoid unnecessary cache clearing during LDAP sync (#28300)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
da6b40665a
Коммит
f3eee28f56
@@ -168,7 +168,8 @@ type TeamStore interface {
|
||||
|
||||
// UpdateMembersRole sets all of the given team members to admins and all of the other members of the team to
|
||||
// non-admin members.
|
||||
UpdateMembersRole(teamID string, userIDs []string) error
|
||||
// It returns the list of userIDs whose roles got updated.
|
||||
UpdateMembersRole(teamID string, adminIDs []string) ([]*model.TeamMember, error)
|
||||
|
||||
// GroupSyncedTeamCount returns the count of non-deleted group-constrained teams.
|
||||
GroupSyncedTeamCount() (int64, error)
|
||||
@@ -300,7 +301,8 @@ type ChannelStore interface {
|
||||
|
||||
// UpdateMembersRole sets all of the given team members to admins and all of the other members of the team to
|
||||
// non-admin members.
|
||||
UpdateMembersRole(channelID string, userIDs []string) error
|
||||
// It returns the list of userIDs whose roles got updated.
|
||||
UpdateMembersRole(channelID string, userIDs []string) ([]*model.ChannelMember, error)
|
||||
|
||||
// GroupSyncedChannelCount returns the count of non-deleted group-constrained channels.
|
||||
GroupSyncedChannelCount() (int64, error)
|
||||
|
||||
Ссылка в новой задаче
Block a user