mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
This is useful when syncing avatars from an integrated LDAP/active directory. The upload avatar and delete avatar buttons are hidden if avatar changes are disabled and the user is a non-admin. If the user has a gravatar set, then the user will not be able to upload an image as their avatar if avatar changes are disabled. Part of #12132.
21 lines
479 B
Python
21 lines
479 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.20 on 2019-04-23 02:47
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('zerver', '0214_realm_invite_to_stream_policy'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='realm',
|
|
name='avatar_changes_disabled',
|
|
field=models.BooleanField(default=False),
|
|
),
|
|
]
|