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.
This commit is contained in:
Sahil Batra 2024-02-27 23:39:19 +05:30 committed by Tim Abbott
parent 7930209929
commit 4fbc137c2b
2 changed files with 2 additions and 2 deletions

View File

@ -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),
),
]

View File

@ -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)