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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
133 # will include policies marked with 'future'. If a WIP policy isn't meant to | 133 # will include policies marked with 'future'. If a WIP policy isn't meant to |
134 # be seen by the policy providers either, the 'supported_on' key should be set | 134 # be seen by the policy providers either, the 'supported_on' key should be set |
135 # to an empty list. | 135 # to an empty list. |
136 # | 136 # |
137 # IDs: | 137 # IDs: |
138 # Since a Protocol Buffer definition is generated from this file, unique and | 138 # Since a Protocol Buffer definition is generated from this file, unique and |
139 # persistent IDs for all fields (but not for groups!) are needed. These are | 139 # persistent IDs for all fields (but not for groups!) are needed. These are |
140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
141 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
142 # For your editing convenience: highest ID currently used: 356 | 142 # For your editing convenience: highest ID currently used: 357 |
143 # | 143 # |
144 # Placeholders: | 144 # Placeholders: |
145 # The following placeholder strings are automatically substituted: | 145 # The following placeholder strings are automatically substituted: |
146 # $1 -> Google Chrome / Chromium | 146 # $1 -> Google Chrome / Chromium |
147 # $2 -> Google Chrome OS / Chromium OS | 147 # $2 -> Google Chrome OS / Chromium OS |
148 # $3 -> Google Chrome Frame / Chromium Frame | 148 # $3 -> Google Chrome Frame / Chromium Frame |
149 # $6 is reserved for doc_writer | 149 # $6 is reserved for doc_writer |
150 # | 150 # |
151 # Device Policy: | 151 # Device Policy: |
152 # An additional flag 'device_only' (optional, defaults to False) indicates | 152 # An additional flag 'device_only' (optional, defaults to False) indicates |
(...skipping 9179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9332 'example_value': False, | 9332 'example_value': False, |
9333 'id': 356, | 9333 'id': 356, |
9334 'caption': '''Enables users to set weak PINs for the lock screen PIN.'
'', | 9334 'caption': '''Enables users to set weak PINs for the lock screen PIN.'
'', |
9335 'tags': [], | 9335 'tags': [], |
9336 'desc': '''If this setting is configured to be false, users will be pr
evented from setting PINs that are considered weak. Such PINs include PINs which
contain the same digit throughout, PINs whose digits are increasing by 1, PINs
whose digits are decreasing by 1 and PINs which are too common. | 9336 'desc': '''If this setting is configured to be false, users will be pr
evented from setting PINs that are considered weak. Such PINs include PINs which
contain the same digit throughout, PINs whose digits are increasing by 1, PINs
whose digits are decreasing by 1 and PINs which are too common. |
9337 | 9337 |
9338 If this setting is configured to be true, or not configured, users can
enter these PINs and will only get a warning display.''', | 9338 If this setting is configured to be true, or not configured, users can
enter these PINs and will only get a warning display.''', |
9339 }, | 9339 }, |
9340 ], | 9340 ], |
9341 }, | 9341 }, |
| 9342 { |
| 9343 'name': 'DeviceWallpaperImage', |
| 9344 'type': 'external', |
| 9345 'schema': { |
| 9346 'type': 'object', |
| 9347 'properties': { |
| 9348 'url': { "type": "string" }, |
| 9349 'hash': { "type": "string" } |
| 9350 }, |
| 9351 }, |
| 9352 'supported_on': ['chrome_os:57-'], |
| 9353 'device_only': True, |
| 9354 'features': { |
| 9355 'dynamic_refresh': True, |
| 9356 }, |
| 9357 'example_value': { "url": "https://example.com/device_wallpaper.jpg", "has
h": "examplewallpaperexamplewallpaperexamplewallpaperexamplewallpaper" }, |
| 9358 'max_size': 16777216, |
| 9359 'id': 357, |
| 9360 'caption': '''Device wallpaper image''', |
| 9361 'tags': [], |
| 9362 'desc': '''Configure device-level wallpaper image that is shown on the log
in screen if no user has yet signed in to the device. The policy is set by speci
fying the URL from which the Chrome OS device can download the wallpaper image a
nd a cryptographic hash used to verify the integrity of the download. The image
must be in JPEG format, its file size must not exceed 16MB. The URL must be acce
ssible without any authentication. The wallpaper image is downloaded and cached.
It will be re-downloaded whenever the URL or the hash changes. |
| 9363 |
| 9364 The policy should be speicified as a string that expresses the URL and has
h in JSON format, e.g., |
| 9365 { |
| 9366 "url": "https://example.com/device_wallpaper.jpg", |
| 9367 "hash": "examplewallpaperhash" |
| 9368 } |
| 9369 |
| 9370 If the device wallpaper policy is set, the Chrome OS device will download
and use the wallpaper image on the login screen if no user has yet signed in to
the device. Once the user logs in, the user's wallpaper policy kicks in. |
| 9371 |
| 9372 If the device wallpaper policy is left not set, it's the user's wallpaper
policy to decide what to show if the user's wallpaper policy is set.''', |
| 9373 }, |
9342 ], | 9374 ], |
9343 'messages': { | 9375 'messages': { |
9344 # Messages that are not associated to any policies. | 9376 # Messages that are not associated to any policies. |
9345 'win_supported_winxpsp2': { | 9377 'win_supported_winxpsp2': { |
9346 'desc': '''A label specifying the oldest possible compatible version of Wi
ndows. This text will appear right next to a label containing the text 'Supporte
d on:'.''', | 9378 'desc': '''A label specifying the oldest possible compatible version of Wi
ndows. This text will appear right next to a label containing the text 'Supporte
d on:'.''', |
9347 'text': '''Microsoft Windows XP SP2 or later''' | 9379 'text': '''Microsoft Windows XP SP2 or later''' |
9348 }, | 9380 }, |
9349 'mac_chrome_preferences': { | 9381 'mac_chrome_preferences': { |
9350 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chromium are being edited''', | 9382 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chromium are being edited''', |
9351 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc
es''' | 9383 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc
es''' |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9465 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 9497 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
9466 'text': 'Default Settings (users can override)', | 9498 'text': 'Default Settings (users can override)', |
9467 }, | 9499 }, |
9468 'doc_complex_policies_on_windows': { | 9500 'doc_complex_policies_on_windows': { |
9469 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 9501 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
9470 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL
ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e
x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>'
'', | 9502 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL
ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e
x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>'
'', |
9471 }, | 9503 }, |
9472 }, | 9504 }, |
9473 'placeholders': [], | 9505 'placeholders': [], |
9474 } | 9506 } |
OLD | NEW |