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: 148 | 115 # For your editing convenience: highest ID currently used: 149 |
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 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1550 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], | 1550 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], |
1551 'features': {'dynamic_refresh': True}, | 1551 'features': {'dynamic_refresh': True}, |
1552 'example_value': 0, | 1552 'example_value': 0, |
1553 'id': 54, | 1553 'id': 54, |
1554 'caption': '''Default geolocation setting''', | 1554 'caption': '''Default geolocation setting''', |
1555 '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 every time a website requ
ests the physical location. | 1555 '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 every time a website requ
ests the physical location. |
1556 | 1556 |
1557 If this policy is left not set, 'AskGeolocation' will be used and the
user will be able to change it.''', | 1557 If this policy is left not set, 'AskGeolocation' will be used and the
user will be able to change it.''', |
1558 }, | 1558 }, |
1559 { | 1559 { |
| 1560 'name': 'DefaultMediaStreamSetting', |
| 1561 'type': 'int-enum', |
| 1562 'items': [ |
| 1563 { |
| 1564 'name': 'PromptOnAccess', |
| 1565 'value': 1, |
| 1566 'caption': '''Ask every time a site wants to access my camera and/
or microphone''' |
| 1567 }, |
| 1568 { |
| 1569 'name': 'BlockAccess', |
| 1570 'value': 2, |
| 1571 'caption': '''Do not allow any site to access my camera and microp
hone''' |
| 1572 }, |
| 1573 ], |
| 1574 'supported_on': ['chrome.*:22-', 'chrome_os:0.22-'], |
| 1575 'features': {'dynamic_refresh': True}, |
| 1576 'example_value': 2, |
| 1577 'id': 149, |
| 1578 'caption': '''Default mediastream setting''', |
| 1579 'desc': '''Allows you to set whether websites are allowed to get acces
s to media capture devices. Access to media capture devices can be allowed by de
fault, or the user can be asked every time a website wants to get access to medi
a capture devices. |
| 1580 |
| 1581 If this policy is left not set, 'PromptOnAccess' will be used and the
user will be able to change it.''', |
| 1582 }, |
| 1583 { |
1560 'name': 'AutoSelectCertificateForUrls', | 1584 'name': 'AutoSelectCertificateForUrls', |
1561 'type': 'list', | 1585 'type': 'list', |
1562 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], | 1586 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], |
1563 'features': {'dynamic_refresh': True}, | 1587 'features': {'dynamic_refresh': True}, |
1564 'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\
\"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"], | 1588 'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\
\"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"], |
1565 'id': 102, | 1589 'id': 102, |
1566 'caption': '''Automatically select client certificates for these sites
''', | 1590 'caption': '''Automatically select client certificates for these sites
''', |
1567 'desc': '''Allows you to specify a list of url patterns that specify s
ites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should auto
matically select a client certificates, if the site requests a certificate. | 1591 'desc': '''Allows you to specify a list of url patterns that specify s
ites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should auto
matically select a client certificates, if the site requests a certificate. |
1568 | 1592 |
1569 If this policy is left not set no auto-selection will be done for any
site.''', | 1593 If this policy is left not set no auto-selection will be done for any
site.''', |
(...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2807 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 2831 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
2808 'text': 'deprecated', | 2832 'text': 'deprecated', |
2809 }, | 2833 }, |
2810 'doc_recommended': { | 2834 'doc_recommended': { |
2811 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 2835 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
2812 'text': 'Recommended', | 2836 'text': 'Recommended', |
2813 }, | 2837 }, |
2814 }, | 2838 }, |
2815 'placeholders': [], | 2839 'placeholders': [], |
2816 } | 2840 } |
OLD | NEW |