Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Document org setting to allow viewing only message moves.
Lauryn Menard345ea92b0161
diff --git a/help/disable-message-edit-history.md b/help/disable-message-edit-history.mddeleted file mode 100644index bec07075cb3..00000000000--- a/help/disable-message-edit-history.md+++ /dev/null@@ -1,26 +0,0 @@-# Disable message edit history--{!admin-only.md!}--In Zulip, users can [view the edit history of a message](/help/view-a-messages-edit-history).--To remove the edit history of a single message, it is usually best to-[delete the message](/help/delete-a-message#delete-a-message-completely)-entirely. However, you can also disable viewing of message edit history more-generally.--### Disable message edit history--{start_tabs}--{settings_tab|organization-permissions}--1. Under **Message and topic editing**, uncheck **Enable message edit history**.--{!save-changes.md!}--{end_tabs}--## Related articles--* [Restrict message editing and deletion](/help/restrict-message-editing-and-deletion)diff --git a/help/edit-a-message.md b/help/edit-a-message.mdindex 2fc122be5a3..a75b5cdd84b 100644--- a/help/edit-a-message.md+++ b/help/edit-a-message.md@@ -43,10 +43,10 @@ edit the content of a message sent by another user.!!! tip ""- After you have edited a message, the message is publicly- marked as **EDITED**. You can- [view a message's edit history](/help/view-a-messages-edit-history)- if it is [enabled](/help/disable-message-edit-history) in your organization.+ When you edit a message, everyone will see it labeled as **edited**. You+ can [view a message's edit history](/help/view-a-messages-edit-history)+ if it is [allowed](/help/restrict-message-edit-history-access) in your+ organization.## Message notificationsdiff --git a/help/include/message-edit-history-intro.md b/help/include/message-edit-history-intro.mdnew file mode 100644index 00000000000..1eec84dc649--- /dev/null+++ b/help/include/message-edit-history-intro.md@@ -0,0 +1,10 @@+In Zulip, users who have the appropriate permissions can+[edit](/help/edit-a-message) the content of a message they sent, or move+messages to a different [channel](/help/move-content-to-another-channel)+or [topic](/help/move-content-to-another-topic).++Modified messages are tagged as **edited** or **moved**, with the **edited**+indicator taking priority. You can view the history of how a message was+edited and moved, if this is allowed in your organization. In organizations+where viewing message edit history is not allowed, moved messages are simply+marked as **edited**.diff --git a/help/include/sidebar_index.md b/help/include/sidebar_index.mdindex 7ee0d984e2c..b3dfc26cd39 100644--- a/help/include/sidebar_index.md+++ b/help/include/sidebar_index.md@@ -236,6 +236,7 @@* [Restrict direct messages](/help/restrict-direct-messages)* [Restrict wildcard mentions](/help/restrict-wildcard-mentions)* [Restrict message editing](/help/restrict-message-editing-and-deletion)+* [Restrict message edit history access](/help/restrict-message-edit-history-access)* [Restrict moving messages](/help/restrict-moving-messages)* [Restrict name and email changes](/help/restrict-name-and-email-changes)* [Restrict profile picture changes](/help/restrict-profile-picture-changes)@@ -247,7 +248,6 @@* [Configure call provider](/help/configure-call-provider)* [Add a custom linkifier](/help/add-a-custom-linkifier)* [Require topics in channel messages](/help/require-topics)-* [Disable message edit history](/help/disable-message-edit-history)* [Image, video and website previews](/help/image-video-and-website-previews)* [Hide message content in emails](/help/hide-message-content-in-emails)* [Message retention policy](/help/message-retention-policy)diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.mdindex a4223e6001c..7ca441c33f1 100644--- a/help/keyboard-shortcuts.md+++ b/help/keyboard-shortcuts.md@@ -187,8 +187,8 @@ in the Zulip app to add more to your repertoire as needed.* **Move message and (optionally) other messages in the same topic**: <kbd>M</kbd>* **View message edit and move history**: <kbd>Shift</kbd> +- <kbd>H</kbd>. Message edit history [must be- enabled](/help/disable-message-edit-history).+ <kbd>H</kbd>. Viewing message edit history [must be+ allowed](/help/restrict-message-edit-history-access).* **Star message**: <kbd>Ctrl</kbd> + <kbd>S</kbd>diff --git a/help/restrict-message-edit-history-access.md b/help/restrict-message-edit-history-access.mdnew file mode 100644index 00000000000..369afddc98b--- /dev/null+++ b/help/restrict-message-edit-history-access.md@@ -0,0 +1,35 @@+# Restrict message edit history access++{!admin-only.md!}++{!message-edit-history-intro.md!}++!!! tip ""++ You can remove the edit history of a single message by+ [deleting it](/help/delete-a-message#delete-a-message-completely).++## Restrict message edit history access++You can restrict message edit history access to only show moves, or disable it+altogether.++{start_tabs}++{settings_tab|organization-permissions}++1. Under **Message editing**, configure **Allow viewing the history of a+ message?**.++{!save-changes.md!}++{end_tabs}++## Related articles++* [Restrict message editing and deletion](/help/restrict-message-editing-and-deletion)+* [Restrict moving messages](/help/restrict-moving-messages)+* [Edit a message](/help/edit-a-message)+* [Delete a message](/help/delete-a-message)+* [Move content to another topic](/help/move-content-to-another-topic)+* [Move content to another channel](/help/move-content-to-another-channel)diff --git a/help/restrict-message-editing-and-deletion.md b/help/restrict-message-editing-and-deletion.mdindex 6ba86e57752..b136af276de 100644--- a/help/restrict-message-editing-and-deletion.md+++ b/help/restrict-message-editing-and-deletion.md@@ -62,6 +62,6 @@ These permissions can be granted to any combination of* [Edit a message](/help/edit-a-message)* [Delete a message](/help/delete-a-message)* [Delete a topic](/help/delete-a-topic)-* [Disable message edit history](/help/disable-message-edit-history)+* [Restrict message edit history access](/help/restrict-message-edit-history-access)* [Configure message retention policy](/help/message-retention-policy)* [Restrict moving messages](/help/restrict-moving-messages)diff --git a/help/restrict-moving-messages.md b/help/restrict-moving-messages.mdindex ff974d05530..7f451a1c1a3 100644--- a/help/restrict-moving-messages.md+++ b/help/restrict-moving-messages.md@@ -87,6 +87,6 @@ Permissions for moving messages between channels can be configured separately.* [Resolve a topic](/help/resolve-a-topic)* [Move content to another topic](/help/move-content-to-another-topic)* [Move content to another channel](/help/move-content-to-another-channel)-* [Restrict message editing and- deletion](/help/restrict-message-editing-and-deletion)+* [Restrict message editing and deletion](/help/restrict-message-editing-and-deletion)+* [Restrict message edit history access](/help/restrict-message-edit-history-access)* [User roles](/help/user-roles)diff --git a/help/view-a-messages-edit-history.md b/help/view-a-messages-edit-history.mdindex e2381041bbe..af6c2aef0f3 100644--- a/help/view-a-messages-edit-history.md+++ b/help/view-a-messages-edit-history.md@@ -1,22 +1,18 @@# View a message's edit history-Users can view the edit history of any edited or moved message. Organization-administrators can [disable message edit-history](/help/disable-message-edit-history).--Messages with any content edits are labeled **EDITED**, while messages that have-only been [moved to a new channel](/help/move-content-to-another-channel) or-[topic](/help/move-content-to-another-topic) are labeled **MOVED**. In-organizations where message edit history is-[disabled](/help/disable-message-edit-history), moved messages are simply marked-as **EDITED**.+{!message-edit-history-intro.md!}## View a message's edit history{start_tabs}-1. Click on the message's **EDITED** or **MOVED** label shown next to- a user's name or to the left of each message in the message feed.+{tab|desktop-web}++1. Choose a message in the message feed.++1. Click on the message's **edited** or **moved** label shown next to the+ sender's name, or to the left of the message, to open the edit history. If+ you don't see such a label, the message has not been edited or moved.!!! keyboard_tip ""@@ -27,5 +23,9 @@ as **EDITED**.## Related articles+* [Edit a message](/help/edit-a-message)+* [Delete a message](/help/delete-a-message)+* [Move content to another topic](/help/move-content-to-another-topic)+* [Move content to another channel](/help/move-content-to-another-channel)* [Restrict message editing and deletion](/help/restrict-message-editing-and-deletion)-* [Disable message edit history](/help/disable-message-edit-history)+* [Restrict message edit history access](/help/restrict-message-edit-history-access)diff --git a/zerver/lib/url_redirects.py b/zerver/lib/url_redirects.pyindex ca6ec959aca..574cdb44fad 100644--- a/zerver/lib/url_redirects.py+++ b/zerver/lib/url_redirects.py@@ -126,6 +126,7 @@ HELP_DOCUMENTATION_REDIRECTS: list[URLRedirect] = [URLRedirect("/help/change-a-users-role", "/help/user-roles"),URLRedirect("/help/roles-and-permissions", "/help/user-roles"),URLRedirect("/help/add-or-remove-users-from-a-channel", "/help/subscribe-users-to-a-channel"),+ URLRedirect("/help/disable-message-edit-history", "/help/restrict-message-edit-history-access"),]LANDING_PAGE_REDIRECTS = [diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex fb510cae274..153164f8dcf 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -8891,11 +8891,13 @@ paths:if they wish to delete the uploaded files returned in this response,which might otherwise remain visible only in message edit history.- Note that [access to message edit- history](/help/disable-message-edit-history) is configurable; this detail- may be important in presenting the question clearly to users.+ Note that [access to message edit history][edit-history-access]+ is configurable; this detail may be important in presenting the+ question clearly to users.New in Zulip 10.0 (feature level 285).++ [edit-history-access]: /help/restrict-message-edit-history-accessitems:$ref: "#/components/schemas/Attachment"example:@@ -24271,8 +24273,9 @@ components:ordered chronologically from most recent to least recentedit.- Not present if the message has never been edited or if the realm has- [disabled viewing of message edit history][disable-edit-history].+ Not present if the message has never been edited or moved,+ or if [viewing message edit history][edit-history-access]+ is not allowed in the organization.Every object will contain `user_id` and `timestamp`.@@ -24282,7 +24285,7 @@ components:only the topic was edited, only `prev_topic` and `topic`will be present in addition to `user_id` and `timestamp`.- [disable-edit-history]: /help/disable-message-edit-history+ [edit-history-access]: /help/restrict-message-edit-history-access**Changes**: In Zulip 10.0 (feature level 284), removed the`prev_rendered_content_version` field as it is an internal