Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4436)

Unified Diff: chrome/app/policy/policy_templates.json

Issue 12218078: Implement a policy to autologin a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small comment fixes Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index 3f3f44dc299c1b9f274a60453e08ce0fb6523aae..9bce522d47ae59ab4daea143192d560b2c47f25b 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: 171
+# For your editing convenience: highest ID currently used: 173
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3502,6 +3502,42 @@
Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
},
{
+ 'name': 'DeviceLocalAccountAutoLogin',
+ 'type': 'group',
+ 'caption': '''Automatically login to a public account.''',
+ 'desc': '''Specify a public account to be automatically logged in after a period of time. The public account must already be configured (see the "DeviceLocalAccounts" policy and the timeout is in milliseconds.''',
bartfab (slow) 2013/02/08 18:38:42 The grouping is not really necessary for two polic
dconnelly 2013/02/08 19:20:42 Done.
+ 'policies': [
+ {
+ 'name': 'DeviceLocalAccountAutoLoginUsername',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+ 'caption': '''Public account for auto-login''',
bartfab (slow) 2013/02/08 18:38:42 We have just renamed public accounts to public ses
dconnelly 2013/02/08 19:20:42 Done.
+ 'desc': '''A public account that should be automatically logged in after a period of time has elapsed at the login screen.''',
+ 'supported_on': ['chrome_os:0.26-'],
bartfab (slow) 2013/02/08 18:38:42 Nit: s/0.26/26/
dconnelly 2013/02/08 19:20:42 Done.
+ 'device_only': True,
+ 'features': {
+ 'dynamic_refresh': True,
+ },
+ 'example_value': "zoidberg@localhost",
+ 'id': 172,
+ },
+ {
+ 'name': 'DeviceLocalAccountAutoLoginTimerMillis',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'caption': '''Public account auto-login timer''',
bartfab (slow) 2013/02/08 18:38:42 The order in which you arranged these items does n
dconnelly 2013/02/08 19:20:42 Done.
+ 'desc': '''The amount of time (in milliseconds) that should elapse before automatically logging in a public account (see the "DeviceLocalAccountAutoLoginUsername" policy). If this policy isn't specified, 0 milliseconds will be used as the timeout.''',
+ 'supported_on': ['chrome_os:0.26-'],
bartfab (slow) 2013/02/08 18:38:42 nit: s/0.26/26/
dconnelly 2013/02/08 19:20:42 Done.
+ 'device_only': True,
+ 'features': {
+ 'dynamic_refresh': True,
+ },
+ 'example_value': 300,
+ 'id': 173,
+ }
+ ]
+ },
+ {
'name': 'BackgroundModeEnabled',
'type': 'main',
'schema': { 'type': 'boolean' },

Powered by Google App Engine
This is Rietveld 408576698