MM-48181: Invalidate cache to reflect permissions changes from a team scheme. (#21735)
* MM-48181: Bust the allChannelMembersForUserCache when assigning a team scheme. * MM-48181: Tests cache fix.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
98a14c8c55
Коммит
3e7a8d8426
@@ -150,6 +150,11 @@ func (_m *ChannelStore) ClearCaches() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// ClearMembersForUserCache provides a mock function with given fields:
|
||||
func (_m *ChannelStore) ClearMembersForUserCache() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// ClearSidebarOnTeamLeave provides a mock function with given fields: userID, teamID
|
||||
func (_m *ChannelStore) ClearSidebarOnTeamLeave(userID string, teamID string) error {
|
||||
ret := _m.Called(userID, teamID)
|
||||
|
||||
Ссылка в новой задаче
Block a user