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.
Этот коммит содержится в:
George Goldberg
2018-04-18 10:18:07 +01:00
коммит произвёл GitHub
родитель a1882d4004
Коммит b13a228b04
17 изменённых файлов: 320 добавлений и 15 удалений

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

@@ -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
}