mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 14:38:46 +00:00
Allowing any admins to create arbitrary users is not ideal because it can lead to abuse issues. We should require something stronger that requires the server operator's approval and thus we add a new can_create_users permission.
19 lines
438 B
Python
19 lines
438 B
Python
# Generated by Django 2.2.17 on 2020-12-20 14:18
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('zerver', '0308_remove_reduntant_realm_meta_permissions'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='userprofile',
|
|
name='can_create_users',
|
|
field=models.BooleanField(db_index=True, default=False),
|
|
),
|
|
]
|