summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2018-05-30 11:21:36 +0100
committerGitHub <noreply@github.com>2018-05-30 11:21:36 +0100
commit994ccf475f96bcad668269fe25b0d22e975bc222 (patch)
tree09fa05e48102fe8d9c85d508fcf30fab7077d2a5 /cmd
parente88fe4bb1dea4918284ee3c6e5aee5a8497ff2b8 (diff)
downloadchat-994ccf475f96bcad668269fe25b0d22e975bc222.tar.gz
chat-994ccf475f96bcad668269fe25b0d22e975bc222.tar.bz2
chat-994ccf475f96bcad668269fe25b0d22e975bc222.zip
Add note about clearing caches when permissions reset CLI done. (#8823)
* Add note about clearing caches when permissions reset CLI done. * Adjust text.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mattermost/commands/permissions.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/mattermost/commands/permissions.go b/cmd/mattermost/commands/permissions.go
index e1bb34963..9d9962ce5 100644
--- a/cmd/mattermost/commands/permissions.go
+++ b/cmd/mattermost/commands/permissions.go
@@ -82,7 +82,9 @@ func resetPermissionsCmdF(command *cobra.Command, args []string) error {
return errors.New(err.Error())
}
- CommandPrettyPrintln("Permissions system successfully reset")
+ CommandPrettyPrintln("Permissions system successfully reset.")
+ CommandPrettyPrintln("Changes will take effect gradually as the server caches expire.")
+ CommandPrettyPrintln("For the changes to take effect immediately, go to the Mattermost System Console > General > Configuration and click \"Purge All Caches\".")
return nil
}