Files
zulip/zerver/migrations/0535_remove_realm_create_public_stream_policy.py
Sahil Batra 222995b1be settings: Remove create_public_stream_policy.
This commit removes create_public_stream_policy setting
since public channel creation permissions are now handled
by group-based setting.

We still pass "realm_create_public_stream_policy" in
"/register" response though for older clients with its
value being set depending on the value of group based
setting. If we cannot set its value to an appropriate
enum corresponding to the group setting, then we set
it to "Members only" considering that server will not
allow the users without permissions to create public
channels but the client can make sure that UI is
available to the users who have permission.
2024-06-10 12:24:45 -07:00

17 lines
371 B
Python

# Generated by Django 5.0.6 on 2024-05-30 08:58
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("zerver", "0534_alter_realm_can_create_public_channel_group"),
]
operations = [
migrations.RemoveField(
model_name="realm",
name="create_public_stream_policy",
),
]