Files
zulip/zerver/migrations/0586_customprofilefield_editable_by_user.py
tnmkr ddecba4e1c custom_profile_fields: Add "editable_by_user" setting.
This new property allows organization administrators to specify whether
users can modify the custom profile field value on their own account.
This property is configurable for individual fields.

By default, existing and newly created fields have this property set to
true, that is, they allow users to edit the value of the fields.

Fixes part of #22883.

Co-Authored-By: Ujjawal Modi <umodi2003@gmail.com>
2024-09-23 18:09:38 -07:00

18 lines
451 B
Python

# Generated by Django 5.0.6 on 2024-06-29 20:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0585_userprofile_allow_private_data_export_and_more"),
]
operations = [
migrations.AddField(
model_name="customprofilefield",
name="editable_by_user",
field=models.BooleanField(db_default=True, default=True),
),
]