diff options
author | George Goldberg <george@gberg.me> | 2018-05-17 16:28:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 16:28:14 +0100 |
commit | a09dc68e1d99394f5d636284e0580dd17b2773b3 (patch) | |
tree | 83292b4af174445cde44309928d2ebf90d184910 /store/store.go | |
parent | d61f13d9b47efbbfb220b1ea33623372c4f6d1ae (diff) | |
download | chat-a09dc68e1d99394f5d636284e0580dd17b2773b3.tar.gz chat-a09dc68e1d99394f5d636284e0580dd17b2773b3.tar.bz2 chat-a09dc68e1d99394f5d636284e0580dd17b2773b3.zip |
MM-10235: Make permissions reset CLI shcemes-aware. (#8773)
* MM-10235: Make permissions reset CLI shcemes-aware.
* Add i18n strings.
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index bf2ac42f5..bfc0ab845 100644 --- a/store/store.go +++ b/store/store.go @@ -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 } |