Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream-policy: Update everyone policy for stream to channel rename.
Lauryn Menard9aaddc6231a8
diff --git a/zerver/models/streams.py b/zerver/models/streams.pyindex c782190213d..34b4f067ffa 100644--- a/zerver/models/streams.py+++ b/zerver/models/streams.py@@ -90,7 +90,7 @@ class Stream(models.Model):POST_POLICIES: Dict[int, StrPromise] = {# These strings should match the strings in the# stream_post_policy_values object in stream_data.js.- STREAM_POST_POLICY_EVERYONE: gettext_lazy("All stream members can post"),+ STREAM_POST_POLICY_EVERYONE: gettext_lazy("All channel members can post"),STREAM_POST_POLICY_ADMINS: gettext_lazy("Only organization administrators can post"),STREAM_POST_POLICY_MODERATORS: gettext_lazy("Only organization administrators and moderators can post"diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.pyindex ed169e48932..37a306a0424 100644--- a/zerver/tests/test_subs.py+++ b/zerver/tests/test_subs.py@@ -1986,7 +1986,7 @@ class StreamAdminTest(ZulipTestCase):expected_notification = (f"@_**{user_profile.full_name}|{user_profile.id}** changed the ""[posting permissions](/help/stream-sending-policy) for this channel:\n\n"- "* **Old permissions**: All stream members can post.\n"+ "* **Old permissions**: All channel members can post.\n""* **New permissions**: Only organization administrators can post.")self.assertEqual(messages[-1].content, expected_notification)