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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 # templates and documentation. The policy definition list that Chrome sees 105 # templates and documentation. The policy definition list that Chrome sees
106 # will include policies marked with 'future'. If a WIP policy isn't meant to 106 # will include policies marked with 'future'. If a WIP policy isn't meant to
107 # be seen by the policy providers either, the 'supported_on' key should be set 107 # be seen by the policy providers either, the 'supported_on' key should be set
108 # to an empty list. 108 # to an empty list.
109 # 109 #
110 # IDs: 110 # IDs:
111 # Since a Protocol Buffer definition is generated from this file, unique and 111 # Since a Protocol Buffer definition is generated from this file, unique and
112 # persistent IDs for all fields (but not for groups!) are needed. These are 112 # persistent IDs for all fields (but not for groups!) are needed. These are
113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
114 # because doing so would break the deployed wire format! 114 # because doing so would break the deployed wire format!
115 # For your editing convenience: highest ID currently used: 171 115 # For your editing convenience: highest ID currently used: 173
116 # 116 #
117 # Placeholders: 117 # Placeholders:
118 # The following placeholder strings are automatically substituted: 118 # The following placeholder strings are automatically substituted:
119 # $1 -> Google Chrome / Chromium 119 # $1 -> Google Chrome / Chromium
120 # $2 -> Google Chrome OS / Chromium OS 120 # $2 -> Google Chrome OS / Chromium OS
121 # $3 -> Google Chrome Frame / Chromium Frame 121 # $3 -> Google Chrome Frame / Chromium Frame
122 # $6 is reserved for doc_writer 122 # $6 is reserved for doc_writer
123 # 123 #
124 # Device Policy: 124 # Device Policy:
125 # An additional flag device_only (optional, defaults to False) indicates 125 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 3369 matching lines...) Expand 10 before | Expand all | Expand 10 after
3495 'dynamic_refresh': True, 3495 'dynamic_refresh': True,
3496 }, 3496 },
3497 'example_value': [ "demo@example.com" ], 3497 'example_value': [ "demo@example.com" ],
3498 'id': 163, 3498 'id': 163,
3499 'caption': '''Device-local accounts''', 3499 'caption': '''Device-local accounts''',
3500 'desc': '''Specifies the list of device-local accounts to be shown on the login screen. 3500 'desc': '''Specifies the list of device-local accounts to be shown on the login screen.
3501 3501
3502 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''', 3502 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
3503 }, 3503 },
3504 { 3504 {
3505 'name': 'DeviceLocalAccountAutoLogin',
3506 'type': 'group',
3507 'caption': '''Automatically login to a public account.''',
3508 'desc': '''Specify a public account to be automatically logged in after a period of time. The public account must already be configured (see the "DeviceL ocalAccounts" 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.
3509 'policies': [
3510 {
3511 'name': 'DeviceLocalAccountAutoLoginUsername',
3512 'type': 'string',
3513 'schema': { 'type': 'string' },
3514 '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.
3515 'desc': '''A public account that should be automatically logged in aft er a period of time has elapsed at the login screen.''',
3516 '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.
3517 'device_only': True,
3518 'features': {
3519 'dynamic_refresh': True,
3520 },
3521 'example_value': "zoidberg@localhost",
3522 'id': 172,
3523 },
3524 {
3525 'name': 'DeviceLocalAccountAutoLoginTimerMillis',
3526 'type': 'int',
3527 'schema': { 'type': 'integer' },
3528 '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.
3529 'desc': '''The amount of time (in milliseconds) that should elapse bef ore automatically logging in a public account (see the "DeviceLocalAccountAutoLo ginUsername" policy). If this policy isn't specified, 0 milliseconds will be us ed as the timeout.''',
3530 '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.
3531 'device_only': True,
3532 'features': {
3533 'dynamic_refresh': True,
3534 },
3535 'example_value': 300,
3536 'id': 173,
3537 }
3538 ]
3539 },
3540 {
3505 'name': 'BackgroundModeEnabled', 3541 'name': 'BackgroundModeEnabled',
3506 'type': 'main', 3542 'type': 'main',
3507 'schema': { 'type': 'boolean' }, 3543 'schema': { 'type': 'boolean' },
3508 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], 3544 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
3509 'features': { 3545 'features': {
3510 'can_be_recommended': True, 3546 'can_be_recommended': True,
3511 'dynamic_refresh': True, 3547 'dynamic_refresh': True,
3512 'per_profile': False, 3548 'per_profile': False,
3513 }, 3549 },
3514 'example_value': True, 3550 'example_value': True,
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
3971 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 4007 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3972 'text': 'deprecated', 4008 'text': 'deprecated',
3973 }, 4009 },
3974 'doc_recommended': { 4010 'doc_recommended': {
3975 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 4011 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
3976 'text': 'Default Settings (users can override)', 4012 'text': 'Default Settings (users can override)',
3977 }, 4013 },
3978 }, 4014 },
3979 'placeholders': [], 4015 'placeholders': [],
3980 } 4016 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698