Files
zulip/zerver/migrations/0506_realm_require_unique_names.py
roanster007 c7a08f3b77 settings: Add permission to enforce unique names in realm.
Previously, users were allowed to signup or change their names to
those which already existed in the realm.

This commit adds an Organization Permission, that shall enforce
users to use unique names while signing up or changing their
names. If a same or normalized full name is found in realm,
then a validation error is thrown.

Fixes #7830.
2024-04-02 14:55:59 -07:00

18 lines
423 B
Python

# Generated by Django 4.2.11 on 2024-03-27 20:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0505_realmuserdefault_web_font_size_px_and_more"),
]
operations = [
migrations.AddField(
model_name="realm",
name="require_unique_names",
field=models.BooleanField(default=False),
),
]