From 4fbc137c2bb8c44600e38b2960481a69adcf4b00 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Tue, 27 Feb 2024 23:39:19 +0530 Subject: [PATCH] realm: Allow members to move msgs between streams by default. This commit updates default for move_messages_between_streams_policy setting to "Members and above" as it is helpful to allow members to move messages between streams in new organizations where users might be using Zulip for first time. --- .../0320_realm_move_messages_between_streams_policy.py | 2 +- zerver/models/realms.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/migrations/0320_realm_move_messages_between_streams_policy.py b/zerver/migrations/0320_realm_move_messages_between_streams_policy.py index f0f966c874..35392a173c 100644 --- a/zerver/migrations/0320_realm_move_messages_between_streams_policy.py +++ b/zerver/migrations/0320_realm_move_messages_between_streams_policy.py @@ -12,6 +12,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name="realm", name="move_messages_between_streams_policy", - field=models.PositiveSmallIntegerField(default=2), + field=models.PositiveSmallIntegerField(default=1), ), ] diff --git a/zerver/models/realms.py b/zerver/models/realms.py index 814104176d..b32fbe9f79 100644 --- a/zerver/models/realms.py +++ b/zerver/models/realms.py @@ -268,7 +268,7 @@ class Realm(models.Model): # type: ignore[django-manager-missing] # django-stub # Who in the organization is allowed to move messages between streams. move_messages_between_streams_policy = models.PositiveSmallIntegerField( - default=POLICY_ADMINS_ONLY + default=POLICY_MEMBERS_ONLY ) user_group_edit_policy = models.PositiveSmallIntegerField(default=POLICY_MEMBERS_ONLY)