Allow System Admins to control Teammate Name Display at the system level

Description

Location: Underneath System Console > Users and Teams > Teammate Name Display setting.

New setting: Lock Teammate Name Display for all users
Options: True / False Default to False
Description: When true, disables users ability to change settings under Main Menu > Accounts Settings > Display > Teammate Name Display

When true, Accounts Settings > Display > Teammate Name Display is updated to show this message (similarly to how we handle when an LDAP attribute maps name data)
"This field is handled through your System Administrator. If you want to change it, you need to do so through your System Administrator."

QA Test Steps

1. Ensure that when a admin sets the lock to true, users are unable to change their preference.
2. Ensure that when set to false, the user preference reverts to what it was before the lock.
3. If already locked and the admin changes the name display type, make sure it updates and reflects for all users on server.

Reporter

None

Mana

None

Assignee

Hossein Ahmadian

QA Assignee

Rohitesh Gupta

Reporter

Katie Wiersgalla

Epic Link

None

Fix versions

Mattermost Team

Enterprise

Sprint

None

Labels

QA Testing Areas

System Console

GitHub Issue

None

Components

None
Configure