Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2419043002: Document deprecated plugin policies as such. (Closed)
Patch Set: Rename ph-s. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 If you enable this setting or do not set a value, AutoFill will remain und er the control of the user. This will allow them to configure AutoFill profiles and to switch AutoFill on or off at their own discretion.''', 1328 If you enable this setting or do not set a value, AutoFill will remain und er the control of the user. This will allow them to configure AutoFill profiles and to switch AutoFill on or off at their own discretion.''',
1329 }, 1329 },
1330 { 1330 {
1331 'name': 'DisabledPlugins', 1331 'name': 'DisabledPlugins',
1332 'type': 'list', 1332 'type': 'list',
1333 'schema': { 1333 'schema': {
1334 'type': 'array', 1334 'type': 'array',
1335 'items': { 'type': 'string' }, 1335 'items': { 'type': 'string' },
1336 }, 1336 },
1337 'supported_on': ['chrome.*:8-', 'chrome_os:11-'], 1337 'supported_on': ['chrome.*:8-', 'chrome_os:11-'],
1338 'deprecated': True,
1338 'features': { 1339 'features': {
1339 'dynamic_refresh': True, 1340 'dynamic_refresh': True,
1340 'per_profile': True, 1341 'per_profile': True,
1341 }, 1342 },
1342 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'], 1343 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
1343 'id': 19, 1344 'id': 19,
1344 'caption': '''Specify a list of disabled plugins''', 1345 'caption': '''Specify a list of disabled plugins''',
1345 'tags': [], 1346 'tags': [],
1346 'desc': '''Specifies a list of plugins that are disabled in <ph name="PROD UCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this se tting. 1347 'desc': '''This policy is deprecated. Please use the <ph name="DEFAULT_PLU GINS_SETTING_POLICY">$1<ex>DefaultPluginsSetting</ex></ph> to control the avalab ility of the Flash plugin and <ph name="ALWAYS_OPEN_PDF_EXTERNALLY_POLICY">$1<ex >AlwaysOpenPdfExternally</ex></ph> to control whether the integrated PDF viewer should be used for opening PDF files.
1348
1349 Specifies a list of plugins that are disabled in <ph name="PRODUCT_NAME">$ 1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
1347 1350
1348 The wildcard characters '*' and '?' can be used to match sequences of arbi trary characters. '*' matches an arbitrary number of characters while '?' specif ies an optional single character, i.e. matches zero or one characters. The escap e character is '\\', so to match actual '*', '?', or '\\' characters, you can pu t a '\\' in front of them. 1351 The wildcard characters '*' and '?' can be used to match sequences of arbi trary characters. '*' matches an arbitrary number of characters while '?' specif ies an optional single character, i.e. matches zero or one characters. The escap e character is '\\', so to match actual '*', '?', or '\\' characters, you can pu t a '\\' in front of them.
1349 1352
1350 If you enable this setting, the specified list of plugins is never used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. The plugins are marked a s disabled in 'about:plugins' and users cannot enable them. 1353 If you enable this setting, the specified list of plugins is never used in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. The plugins are marked a s disabled in 'about:plugins' and users cannot enable them.
1351 1354
1352 Note that this policy can be overridden by EnabledPlugins and DisabledPlug insExceptions. 1355 Note that this policy can be overridden by EnabledPlugins and DisabledPlug insExceptions.
1353 1356
1354 If this policy is left not set the user can use any plugin installed on th e system except for hard-coded incompatible, outdated or dangerous plugins.''', 1357 If this policy is left not set the user can use any plugin installed on th e system except for hard-coded incompatible, outdated or dangerous plugins.''',
1355 'label': '''List of disabled plugins''', 1358 'label': '''List of disabled plugins''',
1356 }, 1359 },
1357 { 1360 {
1358 'name': 'EnabledPlugins', 1361 'name': 'EnabledPlugins',
1359 'type': 'list', 1362 'type': 'list',
1360 'schema': { 1363 'schema': {
1361 'type': 'array', 1364 'type': 'array',
1362 'items': { 'type': 'string' }, 1365 'items': { 'type': 'string' },
1363 }, 1366 },
1364 'supported_on': ['chrome.*:11-', 'chrome_os:11-'], 1367 'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
1368 'deprecated': True,
1365 'features': { 1369 'features': {
1366 'dynamic_refresh': True, 1370 'dynamic_refresh': True,
1367 'per_profile': True, 1371 'per_profile': True,
1368 }, 1372 },
1369 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'], 1373 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
1370 'id': 78, 1374 'id': 78,
1371 'caption': '''Specify a list of enabled plugins''', 1375 'caption': '''Specify a list of enabled plugins''',
1372 'tags': ['system-security'], 1376 'tags': ['system-security'],
1373 'desc': '''Specifies a list of plugins that are enabled in <ph name="PRODU CT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this set ting. 1377 'desc': '''This policy is deprecated. Please use the <ph name="DEFAULT_PLU GINS_SETTING_POLICY">$1<ex>DefaultPluginsSetting</ex></ph> to control the avalab ility of the Flash plugin and <ph name="ALWAYS_OPEN_PDF_EXTERNALLY_POLICY">$1<ex >AlwaysOpenPdfExternally</ex></ph> to control whether the integrated PDF viewer should be used for opening PDF files.
1378
1379 Specifies a list of plugins that are enabled in <ph name="PRODUCT_NAME">$1 <ex>Google Chrome</ex></ph> and prevents users from changing this setting.
1374 1380
1375 The wildcard characters '*' and '?' can be used to match sequences of arbi trary characters. '*' matches an arbitrary number of characters while '?' specif ies an optional single character, i.e. matches zero or one characters. The escap e character is '\\', so to match actual '*', '?', or '\\' characters, you can pu t a '\\' in front of them. 1381 The wildcard characters '*' and '?' can be used to match sequences of arbi trary characters. '*' matches an arbitrary number of characters while '?' specif ies an optional single character, i.e. matches zero or one characters. The escap e character is '\\', so to match actual '*', '?', or '\\' characters, you can pu t a '\\' in front of them.
1376 1382
1377 The specified list of plugins is always used in <ph name="PRODUCT_NAME">$1 <ex>Google Chrome</ex></ph> if they are installed. The plugins are marked as ena bled in 'about:plugins' and users cannot disable them. 1383 The specified list of plugins is always used in <ph name="PRODUCT_NAME">$1 <ex>Google Chrome</ex></ph> if they are installed. The plugins are marked as ena bled in 'about:plugins' and users cannot disable them.
1378 1384
1379 Note that this policy overrides both DisabledPlugins and DisabledPluginsEx ceptions. 1385 Note that this policy overrides both DisabledPlugins and DisabledPluginsEx ceptions.
1380 1386
1381 If this policy is left not set the user can disable any plugin installed o n the system.''', 1387 If this policy is left not set the user can disable any plugin installed o n the system.''',
1382 'label': '''List of enabled plugins''', 1388 'label': '''List of enabled plugins''',
1383 }, 1389 },
1384 { 1390 {
1385 'name': 'DisabledPluginsExceptions', 1391 'name': 'DisabledPluginsExceptions',
1386 'type': 'list', 1392 'type': 'list',
1387 'schema': { 1393 'schema': {
1388 'type': 'array', 1394 'type': 'array',
1389 'items': { 'type': 'string' }, 1395 'items': { 'type': 'string' },
1390 }, 1396 },
1391 'supported_on': ['chrome.*:11-', 'chrome_os:11-'], 1397 'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
1398 'deprecated': True,
1392 'features': { 1399 'features': {
1393 'dynamic_refresh': True, 1400 'dynamic_refresh': True,
1394 'per_profile': True, 1401 'per_profile': True,
1395 }, 1402 },
1396 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'], 1403 'example_value': ['Java', 'Shockwave Flash', 'Chrome PDF Viewer'],
1397 'id': 79, 1404 'id': 79,
1398 'caption': '''Specify a list of plugins that the user can enable or disabl e''', 1405 'caption': '''Specify a list of plugins that the user can enable or disabl e''',
1399 'tags': [], 1406 'tags': [],
1400 'desc': '''Specifies a list of plugins that user can enable or disable in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 1407 'desc': '''This policy is deprecated. Please use the <ph name="DEFAULT_PLU GINS_SETTING_POLICY">$1<ex>DefaultPluginsSetting</ex></ph> to control the avalab ility of the Flash plugin and <ph name="ALWAYS_OPEN_PDF_EXTERNALLY_POLICY">$1<ex >AlwaysOpenPdfExternally</ex></ph> to control whether the integrated PDF viewer should be used for opening PDF files.
1408
1409 Specifies a list of plugins that user can enable or disable in <ph name="P RODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1401 1410
1402 The wildcard characters '*' and '?' can be used to match sequences of arbi trary characters. '*' matches an arbitrary number of characters while '?' specif ies an optional single character, i.e. matches zero or one characters. The escap e character is '\\', so to match actual '*', '?', or '\\' characters, you can pu t a '\\' in front of them. 1411 The wildcard characters '*' and '?' can be used to match sequences of arbi trary characters. '*' matches an arbitrary number of characters while '?' specif ies an optional single character, i.e. matches zero or one characters. The escap e character is '\\', so to match actual '*', '?', or '\\' characters, you can pu t a '\\' in front of them.
1403 1412
1404 If you enable this setting, the specified list of plugins can be used in < ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Users can enable or disabl e them in 'about:plugins', even if the plugin also matches a pattern in Disabled Plugins. Users can also enable and disable plugins that don't match any patterns in DisabledPlugins, DisabledPluginsExceptions and EnabledPlugins. 1413 If you enable this setting, the specified list of plugins can be used in < ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Users can enable or disabl e them in 'about:plugins', even if the plugin also matches a pattern in Disabled Plugins. Users can also enable and disable plugins that don't match any patterns in DisabledPlugins, DisabledPluginsExceptions and EnabledPlugins.
1405 1414
1406 This policy is meant to allow for strict plugin blacklisting where the 'Di sabledPlugins' list contains wildcarded entries like disable all plugins '*' or disable all Java plugins '*Java*' but the administrator wishes to enable some pa rticular version like 'IcedTea Java 2.3'. This particular versions can be specif ied in this policy. 1415 This policy is meant to allow for strict plugin blacklisting where the 'Di sabledPlugins' list contains wildcarded entries like disable all plugins '*' or disable all Java plugins '*Java*' but the administrator wishes to enable some pa rticular version like 'IcedTea Java 2.3'. This particular versions can be specif ied in this policy.
1407 1416
1408 Note that both the plugin name and the plugin's group name have to be exem pted. Each plugin group is shown in a separate section in about:plugins; each se ction may have one or more plugins. For example, the "Shockwave Flash" plugin be longs to the "Adobe Flash Player" group, and both names have to have a match in the exceptions list if that plugin is to be exempted from the blacklist. 1417 Note that both the plugin name and the plugin's group name have to be exem pted. Each plugin group is shown in a separate section in about:plugins; each se ction may have one or more plugins. For example, the "Shockwave Flash" plugin be longs to the "Adobe Flash Player" group, and both names have to have a match in the exceptions list if that plugin is to be exempted from the blacklist.
1409 1418
1410 If this policy is left not set any plugin that matches the patterns in the 'DisabledPlugins' will be locked disabled and the user won't be able to enable them.''', 1419 If this policy is left not set any plugin that matches the patterns in the 'DisabledPlugins' will be locked disabled and the user won't be able to enable them.''',
(...skipping 7764 matching lines...) Expand 10 before | Expand all | Expand 10 after
9175 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9184 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9176 'text': 'Default Settings (users can override)', 9185 'text': 'Default Settings (users can override)',
9177 }, 9186 },
9178 'doc_complex_policies_on_windows': { 9187 'doc_complex_policies_on_windows': {
9179 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9188 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9180 '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>' '', 9189 '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>' '',
9181 }, 9190 },
9182 }, 9191 },
9183 'placeholders': [], 9192 'placeholders': [],
9184 } 9193 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698