Add note about clearing caches when permissions reset CLI done. (#8823)

* Add note about clearing caches when permissions reset CLI done.

* Adjust text.
This commit is contained in:
George Goldberg
2018-05-30 11:21:36 +01:00
committed by GitHub
parent e88fe4bb1d
commit 994ccf475f

View File

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