summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2018-06-25 14:34:59 +0100
committerGitHub <noreply@github.com>2018-06-25 14:34:59 +0100
commitfc158fce907b602bbde3babfadfd1a04d1dde31e (patch)
treef7d95ec4c5fad9aee6cf5db10044e83d500bb166 /store/store.go
parent1c194e5fbdd30ed4387a07cc8a62037f2a18abdd (diff)
downloadchat-fc158fce907b602bbde3babfadfd1a04d1dde31e.tar.gz
chat-fc158fce907b602bbde3babfadfd1a04d1dde31e.tar.bz2
chat-fc158fce907b602bbde3babfadfd1a04d1dde31e.zip
MM-10570: Make permissions reset command clear custom role assignments. (#8976)
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index ce5213572..3ec136f0b 100644
--- a/store/store.go
+++ b/store/store.go
@@ -107,6 +107,7 @@ type TeamStore interface {
GetTeamsByScheme(schemeId string, offset int, limit int) StoreChannel
MigrateTeamMembers(fromTeamId string, fromUserId string) StoreChannel
ResetAllTeamSchemes() StoreChannel
+ ClearAllCustomRoleAssignments() StoreChannel
}
type ChannelStore interface {
@@ -167,6 +168,7 @@ type ChannelStore interface {
GetChannelsByScheme(schemeId string, offset int, limit int) StoreChannel
MigrateChannelMembers(fromChannelId string, fromUserId string) StoreChannel
ResetAllChannelSchemes() StoreChannel
+ ClearAllCustomRoleAssignments() StoreChannel
}
type ChannelMemberHistoryStore interface {
@@ -258,6 +260,7 @@ type UserStore interface {
AnalyticsGetSystemAdminCount() StoreChannel
GetProfilesNotInTeam(teamId string, offset int, limit int) StoreChannel
GetEtagForProfilesNotInTeam(teamId string) StoreChannel
+ ClearAllCustomRoleAssignments() StoreChannel
}
type SessionStore interface {