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

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: r3b@$3 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: 191 115 # For your editing convenience: highest ID currently used: 193
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 3410 matching lines...) Expand 10 before | Expand all | Expand 10 after
3536 'dynamic_refresh': True, 3536 'dynamic_refresh': True,
3537 }, 3537 },
3538 'example_value': [ "demo@example.com" ], 3538 'example_value': [ "demo@example.com" ],
3539 'id': 163, 3539 'id': 163,
3540 'caption': '''Device-local accounts''', 3540 'caption': '''Device-local accounts''',
3541 'desc': '''Specifies the list of device-local accounts to be shown on the login screen. 3541 'desc': '''Specifies the list of device-local accounts to be shown on the login screen.
3542 3542
3543 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''', 3543 Every list entry specifies an identifier, which is used internally to tell the different device-local accounts apart.''',
3544 }, 3544 },
3545 { 3545 {
3546 'name': 'DeviceLocalAccountAutoLoginId',
3547 'type': 'string',
3548 'schema': { 'type': 'string' },
3549 'supported_on': ['chrome_os:26-'],
3550 'device_only': True,
3551 'features': {
3552 'dynamic_refresh': True,
3553 },
3554 'example_value': "public@example.com",
3555 'id': 192,
3556 'caption': '''Public session for auto-login''',
3557 'desc': '''A public session to auto-login after a delay.
3558
3559 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|).
3560
3561 If this policy is unset, there will be no auto-login.''',
3562 },
3563 {
3564 'name': 'DeviceLocalAccountAutoLoginDelay',
3565 'type': 'int',
3566 'schema': { 'type': 'integer' },
3567 'supported_on': ['chrome_os:26-'],
3568 'device_only': True,
3569 'features': {
3570 'dynamic_refresh': True,
3571 },
3572 'example_value': 180000,
3573 'id': 193,
3574 'caption': '''Public session auto-login timer''',
3575 'desc': '''The public session auto-login delay.
3576
3577 If the |DeviceLocalAccountAutoLoginId| policy is unset, this policy has no effect. Otherwise:
3578
3579 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.
3580
3581 If this policy is unset, 0 milliseconds will be used as the timeout.
3582
3583 This policy is specified in milliseconds.'''
3584 },
3585 {
3546 'name': 'BackgroundModeEnabled', 3586 'name': 'BackgroundModeEnabled',
3547 'type': 'main', 3587 'type': 'main',
3548 'schema': { 'type': 'boolean' }, 3588 'schema': { 'type': 'boolean' },
3549 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], 3589 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'],
3550 'features': { 3590 'features': {
3551 'can_be_recommended': True, 3591 'can_be_recommended': True,
3552 'dynamic_refresh': True, 3592 'dynamic_refresh': True,
3553 'per_profile': False, 3593 'per_profile': False,
3554 }, 3594 },
3555 'example_value': True, 3595 'example_value': True,
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
4446 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 4486 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
4447 'text': 'deprecated', 4487 'text': 'deprecated',
4448 }, 4488 },
4449 'doc_recommended': { 4489 'doc_recommended': {
4450 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 4490 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
4451 'text': 'Default Settings (users can override)', 4491 'text': 'Default Settings (users can override)',
4452 }, 4492 },
4453 }, 4493 },
4454 'placeholders': [], 4494 'placeholders': [],
4455 } 4495 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698