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

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

* Adjust text.
Этот коммит содержится в:
George Goldberg
2018-05-30 11:21:36 +01:00
коммит произвёл GitHub
родитель e88fe4bb1d
Коммит 994ccf475f

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

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