diff options
author | George Goldberg <george@gberg.me> | 2018-04-18 10:18:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 10:18:07 +0100 |
commit | b13a228b0451098ea32933a36fe64566e366583d (patch) | |
tree | 569aa0c6c5f273b806b4c3e0c59801204916492c /store/store.go | |
parent | a1882d4004ce624dad1b8624804e974f209efe8d (diff) | |
download | chat-b13a228b0451098ea32933a36fe64566e366583d.tar.gz chat-b13a228b0451098ea32933a36fe64566e366583d.tar.bz2 chat-b13a228b0451098ea32933a36fe64566e366583d.zip |
MM-10121: CLI command to reset permissions system to default state. (#8637)
* MM-10121: CLI command to reset permissions system to default state.
* Review comment.
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 79a14baba..e64089068 100644 --- a/store/store.go +++ b/store/store.go @@ -322,6 +322,7 @@ type SystemStore interface { Update(system *model.System) StoreChannel Get() StoreChannel GetByName(name string) StoreChannel + PermanentDeleteByName(name string) StoreChannel } type WebhookStore interface { @@ -476,4 +477,5 @@ type RoleStore interface { Get(roleId string) StoreChannel GetByName(name string) StoreChannel GetByNames(names []string) StoreChannel + PermanentDeleteAll() StoreChannel } |