mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
docs: Add message editing policy to prod security section.
Fixes #1214.
This commit is contained in:
@@ -392,22 +392,22 @@ announcement).
|
|||||||
weak passwords are visually discouraged using the `zxcvbn` library,
|
weak passwords are visually discouraged using the `zxcvbn` library,
|
||||||
but Zulip does not by default have strong requirements on user
|
but Zulip does not by default have strong requirements on user
|
||||||
password strength. Modify `static/js/common.js` to adjust the
|
password strength. Modify `static/js/common.js` to adjust the
|
||||||
password strength requirements (Patches welcome to make controlled
|
password strength requirements (patches welcome to make this
|
||||||
by an easy setting!).
|
controllable by an easy setting!).
|
||||||
|
|
||||||
* Zulip requires CSRF tokens in all interactions with the web API to
|
* Zulip requires CSRF tokens in all interactions with the web API to
|
||||||
prevent CSRF attacks.
|
prevent CSRF attacks.
|
||||||
|
|
||||||
### Messages and History
|
### Messages and History
|
||||||
|
|
||||||
* Zulip message content is rendering using a specialized Markdown
|
* Zulip message content is rendered using a specialized Markdown
|
||||||
parser which escapes content to protect against cross-site scripting
|
parser which escapes content to protect against cross-site scripting
|
||||||
attacks.
|
attacks.
|
||||||
|
|
||||||
* Zulip supports both public streams and private ("invite-only")
|
* Zulip supports both public streams and private ("invite-only")
|
||||||
streams. Any Zulip user can join any public stream in the realm
|
streams. Any Zulip user can join any public stream in the realm,
|
||||||
(and can view the complete message of any public stream history
|
and can view the complete message history of any public stream
|
||||||
without joining the stream).
|
without joining the stream.
|
||||||
|
|
||||||
* A private ("invite-only") stream is hidden from users who are not
|
* A private ("invite-only") stream is hidden from users who are not
|
||||||
subscribed to the stream. Users who are not members of a private
|
subscribed to the stream. Users who are not members of a private
|
||||||
@@ -419,21 +419,35 @@ announcement).
|
|||||||
can see future messages sent to the stream, but they do not receive
|
can see future messages sent to the stream, but they do not receive
|
||||||
access to the stream's message history.
|
access to the stream's message history.
|
||||||
|
|
||||||
* Zulip supports editing the content or topics of messages that have
|
* Zulip supports editing the content and topics of messages that have
|
||||||
already been sent (and even updating the topic of messages sent by
|
already been sent. As a general philosophy, our policies provide
|
||||||
other users when editing the topic of the overall thread).
|
hard limits on the ways in which message content can be changed or
|
||||||
|
undone. In contrast, our policies around message topics favor
|
||||||
|
usefulness (e.g. for conversational organization) over faithfulness
|
||||||
|
to the original.
|
||||||
|
|
||||||
While edited messages are synced immediately to open browser
|
The message editing policy can be configured on the realm
|
||||||
windows, editing messages is not a safe way to redact secret content
|
administration page. There are three configurations provided out of
|
||||||
(e.g. a password) unintentionally shared via Zulip, because other
|
the box: (i) users cannot edit messages at all, (ii) users can edit
|
||||||
users may have seen and saved the content of the original message
|
any message they have sent, and (iii) users can edit the content of
|
||||||
(for example, they could have taken a screenshot immediately after
|
any message they have sent in the last N minutes, and the topic of
|
||||||
you sent the message, or have an API tool recording all messages
|
any message they have sent. In (ii) and (iii), topic edits can also
|
||||||
they receive).
|
be propagated to other messages with the same original topic, even
|
||||||
|
if those messages were sent by other users. The default setting is
|
||||||
|
(iii), with N = 10.
|
||||||
|
|
||||||
Zulip stores and sends to clients the content of every historical
|
In addition, and regardless of the configuration above, messages
|
||||||
version of a message, so that future versions of Zulip could support
|
with no topic can always be edited to have a topic, by anyone in the
|
||||||
displaying the diffs between previous versions.
|
organization, and the topic of any message can also always be edited
|
||||||
|
by a realm administrator.
|
||||||
|
|
||||||
|
Also note that while edited messages are synced immediately to open
|
||||||
|
browser windows, editing messages is not a safe way to redact secret
|
||||||
|
content (e.g. a password) shared unintentionally. Other users may
|
||||||
|
have seen and saved the content of the original message, or have an
|
||||||
|
integration (e.g. push notifications) forwarding all messages they
|
||||||
|
receive to another service. Zulip also stores and sends to clients
|
||||||
|
the content of every historical version of a message.
|
||||||
|
|
||||||
### Users and Bots
|
### Users and Bots
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user