mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
realm: Delete invite_to_stream_policy.
This commit is contained in:
committed by
Tim Abbott
parent
275a1a4c69
commit
24341076a3
@@ -0,0 +1,16 @@
|
||||
# Generated by Django 5.0.10 on 2025-01-14 07:47
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("zerver", "0651_alter_realm_can_add_subscribers_group"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="realm",
|
||||
name="invite_to_stream_policy",
|
||||
)
|
||||
]
|
@@ -329,11 +329,6 @@ class Realm(models.Model): # type: ignore[django-manager-missing] # django-stub
|
||||
"UserGroup", on_delete=models.RESTRICT, related_name="+"
|
||||
)
|
||||
|
||||
# Who in the organization is allowed to invite other users to streams.
|
||||
invite_to_stream_policy = models.PositiveSmallIntegerField(
|
||||
default=CommonPolicyEnum.MEMBERS_ONLY
|
||||
)
|
||||
|
||||
# UserGroup which is allowed to add subscribers to channels.
|
||||
can_add_subscribers_group = models.ForeignKey(
|
||||
"UserGroup", on_delete=models.RESTRICT, related_name="+"
|
||||
|
Reference in New Issue
Block a user