OLD | NEW |
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 Loading... |
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: 141 | 115 # For your editing convenience: highest ID currently used: 143 |
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 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2320 'device_only': True, | 2320 'device_only': True, |
2321 'features': {'dynamic_refresh': True}, | 2321 'features': {'dynamic_refresh': True}, |
2322 'example_value': False, | 2322 'example_value': False, |
2323 'id': 121, | 2323 'id': 121, |
2324 'caption': '''Report device boot mode''', | 2324 'caption': '''Report device boot mode''', |
2325 'desc': '''Report the state of the device's dev switch at boot. | 2325 'desc': '''Report the state of the device's dev switch at boot. |
2326 | 2326 |
2327 If the policy is not set, or set to false, the state of the dev switch wil
l not be reported.''', | 2327 If the policy is not set, or set to false, the state of the dev switch wil
l not be reported.''', |
2328 }, | 2328 }, |
2329 { | 2329 { |
| 2330 'name': 'ReportDeviceLocation', |
| 2331 'type': 'main', |
| 2332 'supported_on': ['chrome_os:20-'], |
| 2333 'device_only': True, |
| 2334 'features': {'dynamic_refresh': True}, |
| 2335 'future': True, |
| 2336 'example_value': False, |
| 2337 'id': 143, |
| 2338 'caption': '''Report device location''', |
| 2339 'desc': '''Report the geographic location of the device. |
| 2340 |
| 2341 If the policy is not set, or set to false, the location will not be report
ed.''', |
| 2342 }, |
| 2343 { |
2330 'name': 'DeviceUserWhitelist', | 2344 'name': 'DeviceUserWhitelist', |
2331 'type': 'list', | 2345 'type': 'list', |
2332 'supported_on': ['chrome_os:12-'], | 2346 'supported_on': ['chrome_os:12-'], |
2333 'device_only': True, | 2347 'device_only': True, |
2334 'features': {'dynamic_refresh': True}, | 2348 'features': {'dynamic_refresh': True}, |
2335 'example_value': [ 'madmax@managedchrome.com' ], | 2349 'example_value': [ 'madmax@managedchrome.com' ], |
2336 'id': 122, | 2350 'id': 122, |
2337 'caption': '''Login user white list''', | 2351 'caption': '''Login user white list''', |
2338 'desc': '''Defines the list of users that are allowed to login to the devi
ce. Entries are of the form <ph name="USER_WHITELIST_ENTRY_FORMAT">user@domain</
ph>, such as <ph name="USER_WHITELIST_ENTRY_EXAMPLE">madmax@managedchrome.com</p
h>. To allow arbitrary users on a domain, use entries of the form <ph name="USER
_WHITELIST_ENTRY_WILDCARD">*@domain</ph>. | 2352 'desc': '''Defines the list of users that are allowed to login to the devi
ce. Entries are of the form <ph name="USER_WHITELIST_ENTRY_FORMAT">user@domain</
ph>, such as <ph name="USER_WHITELIST_ENTRY_EXAMPLE">madmax@managedchrome.com</p
h>. To allow arbitrary users on a domain, use entries of the form <ph name="USER
_WHITELIST_ENTRY_WILDCARD">*@domain</ph>. |
2339 | 2353 |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2543 'device_only': True, | 2557 'device_only': True, |
2544 'features': {'dynamic_refresh': True}, | 2558 'features': {'dynamic_refresh': True}, |
2545 'example_value': True, | 2559 'example_value': True, |
2546 'id': 136, | 2560 'id': 136, |
2547 'caption': '''Disables Auto Update''', | 2561 'caption': '''Disables Auto Update''', |
2548 'desc': '''Disables automatic updates when set to True. | 2562 'desc': '''Disables automatic updates when set to True. |
2549 | 2563 |
2550 <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices automa
tically check for updates when this setting is not configured or set to False.''
', | 2564 <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices automa
tically check for updates when this setting is not configured or set to False.''
', |
2551 }, | 2565 }, |
2552 { | 2566 { |
| 2567 'name': 'DeviceTargetVersionPrefix', |
| 2568 'type': 'string', |
| 2569 'supported_on': ['chrome_os:19-'], |
| 2570 'device_only': True, |
| 2571 'features': {'dynamic_refresh': True}, |
| 2572 'example_value': '1412.', |
| 2573 'id': 142, |
| 2574 'caption': '''Target Auto Update Version''', |
| 2575 'desc': '''Sets a target version for Auto Updates. |
| 2576 |
| 2577 Specifies the prefix of a target version <ph name="PRODUCT_OS_NAME">$2<ex>
Google Chrome OS</ex></ph> should update to. If the device is running a version
that's before the specified prefix, it will update to the latest version with th
e given prefix. If the device is already on a later version, there is no effect
(i.e. no downgrades are performed) and the device will remain on the current ver
sion. The prefix format works component-wise as is demonstrated in the following
example: |
| 2578 |
| 2579 "" (or not configured): update to latest version available. |
| 2580 "1412.": update to any minor version of 1412 (e.g. 1412.24.34 or 1412.60.2
) |
| 2581 "1412.2.": update to any minor version of 1412.2 (e.g. 1412.2.34 or 1412.2
.2) |
| 2582 "1412.24.34": update to this specific version only |
| 2583 ''' |
| 2584 }, |
| 2585 { |
2553 'name': 'BackgroundModeEnabled', | 2586 'name': 'BackgroundModeEnabled', |
2554 'type': 'main', | 2587 'type': 'main', |
2555 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], | 2588 'supported_on': ['chrome.win:19-', 'chrome.linux:19-'], |
2556 'features': { | 2589 'features': { |
2557 'dynamic_refresh': True, | 2590 'dynamic_refresh': True, |
2558 'can_be_recommended': True, | 2591 'can_be_recommended': True, |
2559 }, | 2592 }, |
2560 'example_value': True, | 2593 'example_value': True, |
2561 'id': 138, | 2594 'id': 138, |
2562 'caption': '''Continue running background apps when <ph name="PRODUCT_NAME
">$1<ex>Google Chrome</ex></ph> is closed''', | 2595 'caption': '''Continue running background apps when <ph name="PRODUCT_NAME
">$1<ex>Google Chrome</ex></ph> is closed''', |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2695 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 2728 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
2696 'text': 'deprecated', | 2729 'text': 'deprecated', |
2697 }, | 2730 }, |
2698 'doc_recommended': { | 2731 'doc_recommended': { |
2699 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 2732 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
2700 'text': 'Recommended', | 2733 'text': 'Recommended', |
2701 }, | 2734 }, |
2702 }, | 2735 }, |
2703 'placeholders': [], | 2736 'placeholders': [], |
2704 } | 2737 } |
OLD | NEW |