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 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: 186 | 115 # For your editing convenience: highest ID currently used: 187 |
| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 430 'example_value': True, | 430 'example_value': True, |
| 431 'id': 11, | 431 'id': 11, |
| 432 'caption': '''Disable saving browser history''', | 432 'caption': '''Disable saving browser history''', |
| 433 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting. | 433 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting. |
| 434 | 434 |
| 435 If this setting is enabled, browsing history is not saved. | 435 If this setting is enabled, browsing history is not saved. |
| 436 | 436 |
| 437 If this setting is disabled or not set, browsing history is saved.''', | 437 If this setting is disabled or not set, browsing history is saved.''', |
| 438 }, | 438 }, |
| 439 { | 439 { |
| 440 'name': 'DeletingBrowserHistoryEnabled', | |
|
Joao da Silva
2013/02/11 15:48:52
Suggestion: I'm not a native English speaker, so y
Joao da Silva
2013/02/11 15:48:52
Set 'future': True for this policy.
Pam (message me for reviews)
2013/02/12 13:58:20
It would be. Which is more important, that or matc
Pam (message me for reviews)
2013/02/12 13:58:20
Done.
Joao da Silva
2013/02/12 14:04:26
That policy has negative polarity, which is a sour
| |
| 441 'type': 'main', | |
| 442 'schema': { 'type': 'boolean' }, | |
| 443 # TODO(pamg): Restore the correct 'supported' line when the UI properly | |
| 444 # shows that deleting browser history is disabled. Also fix the 'os' line | |
| 445 # in policy_test_cases.json. | |
| 446 # 'supported_on': ['chrome.*:26-', 'chrome_os:0.26-'], | |
| 447 'supported_on': [], | |
| 448 'features': { | |
| 449 'dynamic_refresh': True, | |
| 450 'per_profile': True, | |
| 451 }, | |
| 452 'example_value': True, | |
| 453 'id': 187, | |
| 454 'caption': '''Enable deleting browser and download history''', | |
| 455 'desc': '''Enables deleting browser history and download history in <ph na me="PRODUCT_NAME">$<ex>Google Chrome</ex></ph> and prevents users from changing this setting. | |
| 456 | |
| 457 If this setting is enabled or not set, browsing and download history can b e deleted. | |
| 458 | |
| 459 If this setting is disabled, browsing and download history cannot be delet ed.''', | |
| 460 }, | |
| 461 { | |
| 440 'name': 'RemoteAccess', | 462 'name': 'RemoteAccess', |
| 441 'type': 'group', | 463 'type': 'group', |
| 442 'caption': '''Configure remote access options''', | 464 'caption': '''Configure remote access options''', |
| 443 'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph>. | 465 'desc': '''Configure remote access options in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph>. |
| 444 | 466 |
| 445 These features are ignored unless the Remote Access web application is ins talled.''', | 467 These features are ignored unless the Remote Access web application is ins talled.''', |
| 446 'policies': [ | 468 'policies': [ |
| 447 { | 469 { |
| 448 'name': 'RemoteAccessClientFirewallTraversal', | 470 'name': 'RemoteAccessClientFirewallTraversal', |
| 449 'type': 'main', | 471 'type': 'main', |
| (...skipping 3889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4339 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 4361 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 4340 'text': 'deprecated', | 4362 'text': 'deprecated', |
| 4341 }, | 4363 }, |
| 4342 'doc_recommended': { | 4364 'doc_recommended': { |
| 4343 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 4365 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 4344 'text': 'Default Settings (users can override)', | 4366 'text': 'Default Settings (users can override)', |
| 4345 }, | 4367 }, |
| 4346 }, | 4368 }, |
| 4347 'placeholders': [], | 4369 'placeholders': [], |
| 4348 } | 4370 } |
| OLD | NEW |