Chromium Code Reviews| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 111 # templates and documentation. The policy definition list that Chrome sees | 111 # templates and documentation. The policy definition list that Chrome sees |
| 112 # will include policies marked with 'future'. If a WIP policy isn't meant to | 112 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 113 # be seen by the policy providers either, the 'supported_on' key should be set | 113 # be seen by the policy providers either, the 'supported_on' key should be set |
| 114 # to an empty list. | 114 # to an empty list. |
| 115 # | 115 # |
| 116 # IDs: | 116 # IDs: |
| 117 # Since a Protocol Buffer definition is generated from this file, unique and | 117 # Since a Protocol Buffer definition is generated from this file, unique and |
| 118 # persistent IDs for all fields (but not for groups!) are needed. These are | 118 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 120 # because doing so would break the deployed wire format! | 120 # because doing so would break the deployed wire format! |
| 121 # For your editing convenience: highest ID currently used: 264 | 121 # For your editing convenience: highest ID currently used: 265 |
| 122 # | 122 # |
| 123 # Placeholders: | 123 # Placeholders: |
| 124 # The following placeholder strings are automatically substituted: | 124 # The following placeholder strings are automatically substituted: |
| 125 # $1 -> Google Chrome / Chromium | 125 # $1 -> Google Chrome / Chromium |
| 126 # $2 -> Google Chrome OS / Chromium OS | 126 # $2 -> Google Chrome OS / Chromium OS |
| 127 # $3 -> Google Chrome Frame / Chromium Frame | 127 # $3 -> Google Chrome Frame / Chromium Frame |
| 128 # $6 is reserved for doc_writer | 128 # $6 is reserved for doc_writer |
| 129 # | 129 # |
| 130 # Device Policy: | 130 # Device Policy: |
| 131 # An additional flag device_only (optional, defaults to False) indicates | 131 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 6226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6358 } | 6358 } |
| 6359 } | 6359 } |
| 6360 } | 6360 } |
| 6361 | 6361 |
| 6362 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ ex></ph> will download and use the wallpaper image. | 6362 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ ex></ph> will download and use the wallpaper image. |
| 6363 | 6363 |
| 6364 If you set this policy, users cannot change or override it. | 6364 If you set this policy, users cannot change or override it. |
| 6365 | 6365 |
| 6366 If the policy is left not set, the user can choose an image to be shown on the desktop and on the login screen background.''', | 6366 If the policy is left not set, the user can choose an image to be shown on the desktop and on the login screen background.''', |
| 6367 }, | 6367 }, |
| 6368 { | |
| 6369 'name': 'EnableDeprecatedWebPlatformFeatures', | |
| 6370 'type': 'list', | |
| 6371 'schema': { | |
| 6372 'type': 'array', | |
| 6373 'items': { 'type': 'string' }, | |
| 6374 }, | |
| 6375 'supported_on': ['chrome.*:36-', 'chrome_os:36-'], | |
| 6376 'features': { | |
| 6377 'dynamic_refresh': True, | |
| 6378 'per_profile': True, | |
| 6379 }, | |
| 6380 'example_value': [], | |
| 6381 'id': 265, | |
| 6382 'caption': '''Enable deprecated web platform features''', | |
| 6383 'desc': '''Specify a list of deprecated web platform features to re-enable . | |
| 6384 | |
| 6385 This policy gives administrators the ability to re-enable deprecated web p latform features for a limited time. Features are identified by a string tag and the features corresponding to the tags included in the list specified by this p olicy will get re-enabled. | |
| 6386 | |
| 6387 The following tags are currently defined: | |
| 6388 - ShowModalDialog | |
|
Andrew T Wilson (Slow)
2014/05/08 11:32:45
Should update this to include an expiration date a
abarth-chromium
2014/05/10 00:27:39
Yeah, I think that's a good idea to make sure admi
Mattias Nissler (ping if slow)
2014/05/19 15:03:08
Done.
| |
| 6389 | |
| 6390 If this policy is left not set or the list is empty, all deprecated web pl atform features will remain disabled.''', | |
| 6391 }, | |
| 6368 ], | 6392 ], |
| 6369 'messages': { | 6393 'messages': { |
| 6370 # Messages that are not associated to any policies. | 6394 # Messages that are not associated to any policies. |
| 6371 'win_supported_winxpsp2': { | 6395 'win_supported_winxpsp2': { |
| 6372 '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:'.''', | 6396 '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:'.''', |
| 6373 'text': '''Microsoft Windows XP SP2 or later''' | 6397 'text': '''Microsoft Windows XP SP2 or later''' |
| 6374 }, | 6398 }, |
| 6375 'mac_chrome_preferences': { | 6399 'mac_chrome_preferences': { |
| 6376 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', | 6400 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', |
| 6377 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 6401 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6466 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 6490 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 6467 'text': 'deprecated', | 6491 'text': 'deprecated', |
| 6468 }, | 6492 }, |
| 6469 'doc_recommended': { | 6493 'doc_recommended': { |
| 6470 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 6494 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 6471 'text': 'Default Settings (users can override)', | 6495 'text': 'Default Settings (users can override)', |
| 6472 }, | 6496 }, |
| 6473 }, | 6497 }, |
| 6474 'placeholders': [], | 6498 'placeholders': [], |
| 6475 } | 6499 } |
| OLD | NEW |