| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 # Annotations: | 84 # Annotations: |
| 85 # Additional information is specified under keys 'features' and | 85 # Additional information is specified under keys 'features' and |
| 86 # 'example_value'. These are used in the generated documentation and example | 86 # 'example_value'. These are used in the generated documentation and example |
| 87 # policy configuration files. | 87 # policy configuration files. |
| 88 # | 88 # |
| 89 # IDs: | 89 # IDs: |
| 90 # Since a Protocol Buffer definition is generated from this file, unique and | 90 # Since a Protocol Buffer definition is generated from this file, unique and |
| 91 # persistent IDs for all fields (but not for groups!) are needed. These are | 91 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 92 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 92 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 93 # because doing so would break the deployed wire format! | 93 # because doing so would break the deployed wire format! |
| 94 # For your editing convenience: highest ID currently used: 66 | 94 # For your editing convenience: highest ID currently used: 77 |
| 95 # | 95 # |
| 96 'policy_definitions': [ | 96 'policy_definitions': [ |
| 97 { | 97 { |
| 98 'name': 'Homepage', | 98 'name': 'Homepage', |
| 99 'type': 'group', | 99 'type': 'group', |
| 100 'caption': '''Home page''', | 100 'caption': '''Home page''', |
| 101 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e
x>Google Chrome</ex></ph> and prevents users from changing it. | 101 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e
x>Google Chrome</ex></ph> and prevents users from changing it. |
| 102 | 102 |
| 103 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'.
''', | 103 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'.
''', |
| 104 'policies': [ | 104 'policies': [ |
| (...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 'caption': '''Ask whenever a site wants to track the users' physic
al location''' | 1103 'caption': '''Ask whenever a site wants to track the users' physic
al location''' |
| 1104 }, | 1104 }, |
| 1105 ], | 1105 ], |
| 1106 'supported_on': ['chrome.*:10-'], | 1106 'supported_on': ['chrome.*:10-'], |
| 1107 'features': {'dynamic_refresh': 1}, | 1107 'features': {'dynamic_refresh': 1}, |
| 1108 'example_value': 0, | 1108 'example_value': 0, |
| 1109 'id': 54, | 1109 'id': 54, |
| 1110 'caption': '''Default geolocation setting''', | 1110 'caption': '''Default geolocation setting''', |
| 1111 'desc': '''Allows you to set whether websites are allowed to track the
users' physical location. Tracking the users' physical location can be allowed
by default, denied by default or the user can be asked everytime a website reque
sts the pysical location.''', | 1111 'desc': '''Allows you to set whether websites are allowed to track the
users' physical location. Tracking the users' physical location can be allowed
by default, denied by default or the user can be asked everytime a website reque
sts the pysical location.''', |
| 1112 }, | 1112 }, |
| 1113 { |
| 1114 'name': 'CookiesAllowedForUrls', |
| 1115 'type': 'list', |
| 1116 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1117 'features': {'dynamic_refresh': 1}, |
| 1118 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1119 'id': 77, |
| 1120 'caption': '''Allow cookies on these sites''', |
| 1121 'desc': '''Allows you to set a list of url patterns that specify sites
which are allowed to set cookies.''', |
| 1122 }, |
| 1123 { |
| 1124 'name': 'CookiesBlockedForUrls', |
| 1125 'type': 'list', |
| 1126 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1127 'features': {'dynamic_refresh': 1}, |
| 1128 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1129 'id': 67, |
| 1130 'caption': '''Block cookies on these sites''', |
| 1131 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to set cookies.''', |
| 1132 }, |
| 1133 { |
| 1134 'name': 'CookiesSessionOnlyForUrls', |
| 1135 'type': 'list', |
| 1136 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1137 'features': {'dynamic_refresh': 1}, |
| 1138 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1139 'id': 68, |
| 1140 'caption': '''Allow session only cookies on these sites''', |
| 1141 'desc': '''Allows you to set a list of url patterns that specify sites
which are allowed to set session only cookies.''', |
| 1142 }, |
| 1143 { |
| 1144 'name': 'ImagesAllowedForUrls', |
| 1145 'type': 'list', |
| 1146 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1147 'features': {'dynamic_refresh': 1}, |
| 1148 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1149 'id': 69, |
| 1150 'caption': '''Allow images on these sites''', |
| 1151 'desc': '''Allows you to set a list of url patterns that specify sites
which are allowed to display images.''', |
| 1152 }, |
| 1153 { |
| 1154 'name': 'ImagesBlockedForUrls', |
| 1155 'type': 'list', |
| 1156 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1157 'features': {'dynamic_refresh': 1}, |
| 1158 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1159 'id': 70, |
| 1160 'caption': '''Block images on these sites''', |
| 1161 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to display images.''', |
| 1162 }, |
| 1163 { |
| 1164 'name': 'JavaScriptAllowedForUrls', |
| 1165 'type': 'list', |
| 1166 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1167 'features': {'dynamic_refresh': 1}, |
| 1168 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1169 'id': 71, |
| 1170 'caption': '''Allow JavaScript on these sites''', |
| 1171 'desc': '''Allows you to set a list of url patterns that specify sites
which are allowed to run JavaScript.''', |
| 1172 }, |
| 1173 { |
| 1174 'name': 'JavaScriptBlockedForUrls', |
| 1175 'type': 'list', |
| 1176 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1177 'features': {'dynamic_refresh': 1}, |
| 1178 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1179 'id': 72, |
| 1180 'caption': '''Block JavaScript on these sites''', |
| 1181 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to run JavaScript.''', |
| 1182 }, |
| 1183 { |
| 1184 'name': 'PluginsAllowedForUrls', |
| 1185 'type': 'list', |
| 1186 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1187 'features': {'dynamic_refresh': 1}, |
| 1188 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1189 'id': 73, |
| 1190 'caption': '''Allow plugins on these sites''', |
| 1191 'desc': '''Allows you to set a list of url patterns that specify sites
which are allowed to run plugins.''', |
| 1192 }, |
| 1193 { |
| 1194 'name': 'PluginsBlockedForUrls', |
| 1195 'type': 'list', |
| 1196 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1197 'features': {'dynamic_refresh': 1}, |
| 1198 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1199 'id': 74, |
| 1200 'caption': '''Block plugins on these sites''', |
| 1201 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to run plugins.''', |
| 1202 }, |
| 1203 { |
| 1204 'name': 'PopupsAllowedForUrls', |
| 1205 'type': 'list', |
| 1206 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1207 'features': {'dynamic_refresh': 1}, |
| 1208 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1209 'id': 75, |
| 1210 'caption': '''Allow popups on these sites''', |
| 1211 'desc': '''Allows you to set a list of url patterns that specify sites
which are allowed to open popups.''', |
| 1212 }, |
| 1213 { |
| 1214 'name': 'PopupsBlockedForUrls', |
| 1215 'type': 'list', |
| 1216 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 1217 'features': {'dynamic_refresh': 1}, |
| 1218 'example_value': ['http://www.example.com', '[*.]example.edu'], |
| 1219 'id': 76, |
| 1220 'caption': '''Block popups on these sites''', |
| 1221 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to open popups.''', |
| 1222 } |
| 1113 ], | 1223 ], |
| 1114 }, | 1224 }, |
| 1115 { | 1225 { |
| 1116 'name': 'Disable3DAPIs', | 1226 'name': 'Disable3DAPIs', |
| 1117 'type': 'main', | 1227 'type': 'main', |
| 1118 'supported_on': ['chrome.*:9-'], | 1228 'supported_on': ['chrome.*:9-'], |
| 1119 'features': {'dynamic_refresh': 0}, | 1229 'features': {'dynamic_refresh': 0}, |
| 1120 'example_value': False, | 1230 'example_value': False, |
| 1121 'id': 55, | 1231 'id': 55, |
| 1122 'caption': '''Disable support for 3D graphics APIs''', | 1232 'caption': '''Disable support for 3D graphics APIs''', |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 { | 1457 { |
| 1348 'key': '$4', | 1458 'key': '$4', |
| 1349 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting-
started' | 1459 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting-
started' |
| 1350 }, | 1460 }, |
| 1351 { | 1461 { |
| 1352 'key': '$5', | 1462 'key': '$5', |
| 1353 'value': 'http://www.chromium.org/administrators/policy-templates' | 1463 'value': 'http://www.chromium.org/administrators/policy-templates' |
| 1354 }, | 1464 }, |
| 1355 ] | 1465 ] |
| 1356 } | 1466 } |
| OLD | NEW |