Files
zulip/zerver/migrations/0487_realm_can_access_all_users_group.py
Sahil Batra c82bb3ec76 models: Add can_access_all_users_group setting.
This commit adds new setting for controlling who can access
all users in the realm which would have "Everyone" and
"Members only" option.

Fixes part of #10970.
2023-11-13 08:04:45 -08:00

24 lines
622 B
Python

# Generated by Django 4.1.7 on 2023-03-23 14:40
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0486_clear_old_data_for_unused_usermessage_flags"),
]
operations = [
migrations.AddField(
model_name="realm",
name="can_access_all_users_group",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.RESTRICT,
related_name="+",
to="zerver.usergroup",
),
),
]