starlight_help/src/content/docs/restrict-message-editing-and-deletion.mdx
import {TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro"; import NavigationSteps from "../../components/NavigationSteps.astro"; import ZulipTip from "../../components/ZulipTip.astro"; import AdminOnly from "../include/_AdminOnly.mdx"; import ChannelSettingsNavbarTip from "../include/_ChannelSettingsNavbarTip.mdx"; import SaveChanges from "../include/_SaveChanges.mdx"; import SelectChannelViewPermissions from "../include/_SelectChannelViewPermissions.mdx";
<AdminOnly />Zulip lets you separately configure permissions for editing and deleting messages, and you can set time limits for both actions. Regardless of the configuration you select, message content can only ever be modified by the original author.
Note that if a user can edit a message, they can also “delete” it by removing all the message content. This is different from proper message deletion in two ways: the original content will still show up in message edit history, and will be included in data exports. Deletion permanently (and irretrievably) removes the message from Zulip.
These permissions can be granted to any combination of roles, groups, and individual users.
<FlattenedSteps> <NavigationSteps target="settings/organization-permissions" /> 1. Select a channel.
<SelectChannelViewPermissions />
1. Under **Moderation permissions**, configure **Who can delete any message in
this channel** and **Who can delete their own messages in this channel**.
<SaveChanges />
</FlattenedSteps>
<ChannelSettingsNavbarTip />