mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
realm: Allow everyone to delete their own messages by default.
This commit updates default for delete_own_message_policy setting to "Everyone" as it is helpful to allow everyone to delete their own messages in a new organization where users might be using Zulip for the first time.
This commit is contained in:
@@ -12,6 +12,6 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name="realm",
|
model_name="realm",
|
||||||
name="delete_own_message_policy",
|
name="delete_own_message_policy",
|
||||||
field=models.PositiveSmallIntegerField(default=2),
|
field=models.PositiveSmallIntegerField(default=5),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ class Realm(models.Model): # type: ignore[django-manager-missing] # django-stub
|
|||||||
create_web_public_stream_policy = models.PositiveSmallIntegerField(default=POLICY_OWNERS_ONLY)
|
create_web_public_stream_policy = models.PositiveSmallIntegerField(default=POLICY_OWNERS_ONLY)
|
||||||
|
|
||||||
# Who in the organization is allowed to delete messages they themselves sent.
|
# Who in the organization is allowed to delete messages they themselves sent.
|
||||||
delete_own_message_policy = models.PositiveSmallIntegerField(default=POLICY_ADMINS_ONLY)
|
delete_own_message_policy = models.PositiveSmallIntegerField(default=POLICY_EVERYONE)
|
||||||
|
|
||||||
# Who in the organization is allowed to edit topics of any message.
|
# Who in the organization is allowed to edit topics of any message.
|
||||||
edit_topic_policy = models.PositiveSmallIntegerField(default=POLICY_EVERYONE)
|
edit_topic_policy = models.PositiveSmallIntegerField(default=POLICY_EVERYONE)
|
||||||
|
|||||||
Reference in New Issue
Block a user