admin: Add realm option to prevent users from changing their name.

A realm option to prevent users from changing their name is added.
Fixes #3950.
This commit is contained in:
Raghav Jajodia
2017-03-13 23:03:49 +05:30
committed by Tim Abbott
parent dc48b87765
commit ef7e15ee00
11 changed files with 99 additions and 6 deletions

View File

@@ -296,13 +296,14 @@ def home_real(request):
'realm_default_streams',
'realm_email_changes_disabled',
'realm_emoji',
'realm_filters',
'realm_icon_source',
'realm_icon_url',
'realm_message_content_edit_limit_seconds',
'realm_name',
'realm_invite_by_admins_only',
'realm_invite_required',
'realm_filters',
'realm_message_content_edit_limit_seconds',
'realm_name',
'realm_name_changes_disabled',
'realm_restricted_to_domain',
'realm_waiting_period_threshold',
'referrals',