From 3c5280119357e3742811fd724601d0bef01bcb29 Mon Sep 17 00:00:00 2001 From: David Meza Date: Fri, 1 Sep 2017 08:53:55 -0500 Subject: Config to make town square read only (#7140) * Be able to make Town Square read-only (Disable typing messages for non admins). * Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square. * Add unit tests for TownSquareIsReadOnly config value and logic. * Add TownSquareIsReadOnly to System console>Policy. Added Telemetry. * Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20. * Update en.json * Update en.json * Update policy_settings.jsx * Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly. * Refactored to simplify. Avoid code repeat and multiple db calls. --- i18n/en.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index 794424aff..febcb9d9c 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1629,6 +1629,10 @@ "id": "api.post.create_post.root_id.app_error", "translation": "Invalid RootId parameter" }, + { + "id": "api.post.create_post.town_square_read_only", + "translation": "This channel is read-only. Only members with permission can post here." + }, { "id": "api.post.create_webhook_post.creating.app_error", "translation": "Error creating post" -- cgit v1.2.3-1-g7c22