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

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: last upload failed 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
bartfab (slow) 2013/02/11 09:46:01 Nit: Rebase. You are ~15 policies out of date :).
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': 'DeviceLocalAccountAutoLoginId',
3506 'type': 'string',
3507 'schema': { 'type': 'string' },
3508 'supported_on': ['chrome_os:26-'],
3509 'device_only': True,
3510 'features': {
3511 'dynamic_refresh': True,
3512 },
3513 'example_value': "bob@example.com",
3514 'id': 172,
3515 'caption': '''Public session for auto-login''',
3516 'desc': '''A public session that should be automatically logged in after a period of time has elapsed at the login screen. The public session must alread y be configured (see "DeviceLocalAccounts").''',
bartfab (slow) 2013/02/11 09:46:01 Nit: I don't think we have been using the ancient
dconnelly 2013/02/11 16:17:56 Done.
3517 },
3518 {
3519 'name': 'DeviceLocalAccountAutoLoginDelay',
3520 'type': 'int',
3521 'schema': { 'type': 'integer' },
3522 'supported_on': ['chrome_os:26-'],
3523 'device_only': True,
3524 'features': {
3525 'dynamic_refresh': True,
3526 },
3527 'example_value': 300,
3528 'id': 173,
3529 'caption': '''Public session auto-login timer''',
3530 'desc': '''The amount of time (in milliseconds) that should elapse before automatically logging in a public session (see the "DeviceLocalAccountAutoLoginI d" policy). If this policy isn't specified, 0 milliseconds will be used as the timeout.''',
bartfab (slow) 2013/02/11 09:46:01 Nit: We normally tend to have this format for the
dconnelly 2013/02/11 16:17:56 Done.
3531 },
3532 {
3505 'name': 'BackgroundModeEnabled', 3533 'name': 'BackgroundModeEnabled',
3506 'type': 'main', 3534 'type': 'main',
3507 'schema': { 'type': 'boolean' }, 3535 'schema': { 'type': 'boolean' },
3508 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], 3536 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
3509 'features': { 3537 'features': {
3510 'can_be_recommended': True, 3538 'can_be_recommended': True,
3511 'dynamic_refresh': True, 3539 'dynamic_refresh': True,
3512 'per_profile': False, 3540 'per_profile': False,
3513 }, 3541 },
3514 'example_value': True, 3542 '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''', 3999 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3972 'text': 'deprecated', 4000 'text': 'deprecated',
3973 }, 4001 },
3974 'doc_recommended': { 4002 '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''', 4003 '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)', 4004 'text': 'Default Settings (users can override)',
3977 }, 4005 },
3978 }, 4006 },
3979 'placeholders': [], 4007 'placeholders': [],
3980 } 4008 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698