summaryrefslogtreecommitdiffstats
path: root/chrome/app/policy
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 16:04:16 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 16:04:16 +0000
commite3ad8f82dfd31e03b6527c1f191ed23da16c41b2 (patch)
tree74842104287aec0a0ca648009468c1bbc590a04d /chrome/app/policy
parent7a2ea147bc14411cdf2c7204fbdfcc160bd10e1e (diff)
downloadchromium_src-e3ad8f82dfd31e03b6527c1f191ed23da16c41b2.zip
chromium_src-e3ad8f82dfd31e03b6527c1f191ed23da16c41b2.tar.gz
chromium_src-e3ad8f82dfd31e03b6527c1f191ed23da16c41b2.tar.bz2
Implement policy for setting the display name on public accounts.
BUG=chromium:164599 TEST=Manual Review URL: https://codereview.chromium.org/11566019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy')
-rw-r--r--chrome/app/policy/policy_templates.json22
1 files changed, 21 insertions, 1 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index b9cbf5f..53ed66e 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 168
+# For your editing convenience: highest ID currently used: 169
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3816,6 +3816,26 @@
If the policy is left not set, users can choose whether the shelf should auto-hide.''',
},
+ {
+ 'name': 'UserDisplayName',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+ 'supported_on': ['chrome_os:25-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 'Policy User',
+ 'id': 169,
+ 'caption': '''Set the display name for device-local accounts''',
+ 'desc': '''Controls the account name <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shows on the login screen for the corresponding device-local account.
+
+ If this policy is set, the login screen will use the specified string in the picture-based login chooser for the corresponding device-local account.
+
+ If the policy is left not set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will use the device-local account's email account ID as the display name on the login screen.
+
+ This policy is ignored for regular user accounts.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.