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: 150 | 115 # For your editing convenience: highest ID currently used: 151 |
| 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 |
| 126 # that this policy is only supported as a device-level Cloud Policy. | 126 # that this policy is only supported as a device-level Cloud Policy. |
| 127 # In that case no entry in the UserPolicy Protobuf is generated and | 127 # In that case no entry in the UserPolicy Protobuf is generated and |
| 128 # it is assumed that it will be added to the DevicePolicy Protobuf manually. | 128 # it is assumed that it will be added to the DevicePolicy Protobuf manually. |
| 129 # | 129 # |
| 130 'policy_definitions': [ | 130 'policy_definitions': [ |
| 131 { | 131 { |
| 132 'name': 'DisableScreenshots', | |
| 133 'type': 'main', | |
| 134 'supported_on': ['chrome_os:0.11-'], # TODO: chose correct version | |
|
Mattias Nissler (ping if slow)
2012/07/06 15:15:52
chrome_os.22-
qfel
2012/07/06 17:00:39
Done
| |
| 135 'features': { | |
| 136 'dynamic_refresh': True, | |
| 137 }, | |
| 138 'example_value': True, | |
| 139 'id': 151, | |
| 140 'caption': '''Disable taking screenshots''', | |
| 141 'desc': '''Disables taking screenshots with keyboard accelerators shortcut s''' | |
|
Mattias Nissler (ping if slow)
2012/07/06 15:15:52
More verbose description, see other descriptions f
qfel
2012/07/06 17:00:39
Done (more verbose, not sure if verbose enough)
| |
| 142 }, | |
| 143 { | |
| 132 'name': 'Homepage', | 144 'name': 'Homepage', |
| 133 'type': 'group', | 145 'type': 'group', |
| 134 'caption': '''Home page''', | 146 'caption': '''Home page''', |
| 135 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it. | 147 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it. |
| 136 | 148 |
| 137 The user's home page settings are only completely locked down, if you eith er select the home page to be the new tab page, or set it to be a URL and specif y a home page URL. If you don't specify the home page URL, then the user is stil l able to set the home page to the new tab page by specifying 'chrome://newtab'. ''', | 149 The user's home page settings are only completely locked down, if you eith er select the home page to be the new tab page, or set it to be a URL and specif y a home page URL. If you don't specify the home page URL, then the user is stil l able to set the home page to the new tab page by specifying 'chrome://newtab'. ''', |
| 138 'policies': [ | 150 'policies': [ |
| 139 { | 151 { |
| 140 'name': 'HomepageLocation', | 152 'name': 'HomepageLocation', |
| 141 'type': 'string', | 153 'type': 'string', |
| (...skipping 2701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2843 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 2855 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 2844 'text': 'deprecated', | 2856 'text': 'deprecated', |
| 2845 }, | 2857 }, |
| 2846 'doc_recommended': { | 2858 'doc_recommended': { |
| 2847 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 2859 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 2848 'text': 'Recommended', | 2860 'text': 'Recommended', |
| 2849 }, | 2861 }, |
| 2850 }, | 2862 }, |
| 2851 'placeholders': [], | 2863 'placeholders': [], |
| 2852 } | 2864 } |
| OLD | NEW |