From fc158fce907b602bbde3babfadfd1a04d1dde31e Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Mon, 25 Jun 2018 14:34:59 +0100 Subject: MM-10570: Make permissions reset command clear custom role assignments. (#8976) --- store/store.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'store/store.go') 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 { -- cgit v1.2.3-1-g7c22