MM-10235: Make permissions reset CLI shcemes-aware. (#8773)

* MM-10235: Make permissions reset CLI shcemes-aware.

* Add i18n strings.
Этот коммит содержится в:
George Goldberg
2018-05-17 16:28:14 +01:00
коммит произвёл GitHub
родитель d61f13d9b4
Коммит a09dc68e1d
18 изменённых файлов: 281 добавлений и 0 удалений

Просмотреть файл

@@ -106,6 +106,7 @@ type TeamStore interface {
UpdateLastTeamIconUpdate(teamId string, curTime int64) StoreChannel
GetTeamsByScheme(schemeId string, offset int, limit int) StoreChannel
MigrateTeamMembers(fromTeamId string, fromUserId string) StoreChannel
ResetAllTeamSchemes() StoreChannel
}
type ChannelStore interface {
@@ -165,6 +166,7 @@ type ChannelStore interface {
ClearCaches()
GetChannelsByScheme(schemeId string, offset int, limit int) StoreChannel
MigrateChannelMembers(fromChannelId string, fromUserId string) StoreChannel
ResetAllChannelSchemes() StoreChannel
}
type ChannelMemberHistoryStore interface {
@@ -489,4 +491,5 @@ type SchemeStore interface {
Get(schemeId string) StoreChannel
GetAllPage(scope string, offset int, limit int) StoreChannel
Delete(schemeId string) StoreChannel
PermanentDeleteAll() StoreChannel
}