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

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: move user activity timer reset to WebUILoginDisplay Created 7 years, 9 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: 189 115 # For your editing convenience: highest ID currently used: 191
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 3394 matching lines...) Expand 10 before | Expand all | Expand 10 after
3520 'dynamic_refresh': True, 3520 'dynamic_refresh': True,
3521 }, 3521 },
3522 'example_value': [ "demo@example.com" ], 3522 'example_value': [ "demo@example.com" ],
3523 'id': 163, 3523 'id': 163,
3524 'caption': '''Device-local accounts''', 3524 'caption': '''Device-local accounts''',
3525 'desc': '''Specifies the list of device-local accounts to be shown on the login screen. 3525 'desc': '''Specifies the list of device-local accounts to be shown on the login screen.
3526 3526
3527 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''', 3527 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
3528 }, 3528 },
3529 { 3529 {
3530 'name': 'DeviceLocalAccountAutoLoginId',
3531 'type': 'string',
3532 'schema': { 'type': 'string' },
3533 'supported_on': ['chrome_os:26-'],
3534 'device_only': True,
3535 'features': {
3536 'dynamic_refresh': True,
3537 },
3538 'example_value': "bob@localhost",
bartfab (slow) 2013/02/28 10:21:33 It seems you misunderstood my comment: The host pa
dconnelly 2013/02/28 12:52:56 Done.
3539 'id': 190,
3540 'caption': '''Public session for auto-login''',
3541 'desc': '''A public session to auto-login after a delay.
3542
3543 If this policy is set, the specified session will be automatically logged in after a period of time has elapsed at the login screen without user interacti on. The public session must already be configured (see |DeviceLocalAccounts|).
3544
3545 If this policy is unset, there will be no auto-login.''',
3546 },
3547 {
3548 'name': 'DeviceLocalAccountAutoLoginDelay',
3549 'type': 'int',
3550 'schema': { 'type': 'integer' },
3551 'supported_on': ['chrome_os:26-'],
3552 'device_only': True,
3553 'features': {
3554 'dynamic_refresh': True,
3555 },
3556 'example_value': 180000,
3557 'id': 191,
3558 'caption': '''Public session auto-login timer''',
3559 'desc': '''The public session auto-login delay.
3560
3561 If the |DeviceLocalAccountAutoLoginId| policy is unset, this policy has no effect. Otherwise:
3562
3563 If this policy is set, it determines the amount of time without user activ ity that should elapse before automatically logging into the public session spec ified by the |DeviceLocalAccountAutoLoginId| policy.
3564
3565 If this policy is unset, 0 milliseconds will be used as the timeout.
3566
3567 This policy is specified in milliseconds.'''
3568 },
3569 {
3530 'name': 'BackgroundModeEnabled', 3570 'name': 'BackgroundModeEnabled',
3531 'type': 'main', 3571 'type': 'main',
3532 'schema': { 'type': 'boolean' }, 3572 'schema': { 'type': 'boolean' },
3533 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], 3573 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
3534 'features': { 3574 'features': {
3535 'can_be_recommended': True, 3575 'can_be_recommended': True,
3536 'dynamic_refresh': True, 3576 'dynamic_refresh': True,
3537 'per_profile': False, 3577 'per_profile': False,
3538 }, 3578 },
3539 'example_value': True, 3579 'example_value': True,
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
4413 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 4453 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
4414 'text': 'deprecated', 4454 'text': 'deprecated',
4415 }, 4455 },
4416 'doc_recommended': { 4456 'doc_recommended': {
4417 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 4457 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
4418 'text': 'Default Settings (users can override)', 4458 'text': 'Default Settings (users can override)',
4419 }, 4459 },
4420 }, 4460 },
4421 'placeholders': [], 4461 'placeholders': [],
4422 } 4462 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698