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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
130 # templates and documentation. The policy definition list that Chrome sees | 130 # templates and documentation. The policy definition list that Chrome sees |
131 # will include policies marked with 'future'. If a WIP policy isn't meant to | 131 # will include policies marked with 'future'. If a WIP policy isn't meant to |
132 # be seen by the policy providers either, the 'supported_on' key should be set | 132 # be seen by the policy providers either, the 'supported_on' key should be set |
133 # to an empty list. | 133 # to an empty list. |
134 # | 134 # |
135 # IDs: | 135 # IDs: |
136 # Since a Protocol Buffer definition is generated from this file, unique and | 136 # Since a Protocol Buffer definition is generated from this file, unique and |
137 # persistent IDs for all fields (but not for groups!) are needed. These are | 137 # persistent IDs for all fields (but not for groups!) are needed. These are |
138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
139 # because doing so would break the deployed wire format! | 139 # because doing so would break the deployed wire format! |
140 # For your editing convenience: highest ID currently used: 319 | 140 # For your editing convenience: highest ID currently used: 320 |
141 # | 141 # |
142 # Placeholders: | 142 # Placeholders: |
143 # The following placeholder strings are automatically substituted: | 143 # The following placeholder strings are automatically substituted: |
144 # $1 -> Google Chrome / Chromium | 144 # $1 -> Google Chrome / Chromium |
145 # $2 -> Google Chrome OS / Chromium OS | 145 # $2 -> Google Chrome OS / Chromium OS |
146 # $3 -> Google Chrome Frame / Chromium Frame | 146 # $3 -> Google Chrome Frame / Chromium Frame |
147 # $6 is reserved for doc_writer | 147 # $6 is reserved for doc_writer |
148 # | 148 # |
149 # Device Policy: | 149 # Device Policy: |
150 # An additional flag 'device_only' (optional, defaults to False) indicates | 150 # An additional flag 'device_only' (optional, defaults to False) indicates |
(...skipping 2918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3069 'deprecated': True, | 3069 'deprecated': True, |
3070 'example_value': 2, | 3070 'example_value': 2, |
3071 'id': 149, | 3071 'id': 149, |
3072 'caption': '''Default mediastream setting''', | 3072 'caption': '''Default mediastream setting''', |
3073 'tags': ['website-sharing'], | 3073 'tags': ['website-sharing'], |
3074 '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. | 3074 '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. |
3075 | 3075 |
3076 If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''', | 3076 If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''', |
3077 }, | 3077 }, |
3078 { | 3078 { |
3079 'name': 'DefaultWebBluetoothGuardSetting', | |
3080 'type': 'int-enum', | |
3081 'schema': { | |
3082 'type': 'integer', | |
3083 'enum': [ 2, 3 ], | |
3084 }, | |
3085 'items': [ | |
3086 { | |
3087 'name': 'BlockWebBluetooth', | |
3088 'value': 2, | |
3089 'caption': '''Do not allow any site to request access to Bluetooth devices via the Web Bluetooth API''', | |
3090 }, | |
3091 { | |
3092 'name': 'AskWebBluetooth', | |
3093 'value': 3, | |
3094 'caption': '''Allow sites to ask the user to grant access to a nea rby Bluetooth device''', | |
3095 }, | |
3096 ], | |
3097 'supported_on': ['chrome_os:50-', 'android:50-', 'chrome.*:50-'], | |
3098 'features': { | |
3099 'dynamic_refresh': True, | |
3100 'per_profile': True, | |
3101 }, | |
3102 'example_value': 2, | |
3103 'id': 320, | |
3104 'caption': '''Control use of the Web Bluetooth API''', | |
3105 'tags': ['website-sharing'], | |
3106 'desc': '''Sets whether web pages can use the Web Bluetooth API, descr ibed at <ph name="WEB_BLUETOOTH_ON_CHROME_STATUS_LINK">https://www.chromestatus. com/features/5264933985976320</ph>. | |
3107 | |
3108 3, 'AskWebBluetooth', allows web pages from asking users to grant acce ss to nearby Bluetooth LE devices. If granted, the web page has full access to t he device's Bluetooth GATT services. | |
Thiemo Nagel
2016/02/22 12:41:51
For consistency, I'd suggest to better align the d
Jeffrey Yasskin
2016/02/22 23:47:10
Done. Note that http://www.chromium.org/administra
| |
3109 | |
3110 2, 'BlockWebBluetooth', prevents web pages from asking users to grant access to nearby Bluetooth LE devices. | |
3111 | |
3112 Leaving this policy unset is equivalent to 'AskWebBluetooth'.''', | |
3113 }, | |
3114 { | |
3079 'name': 'DefaultKeygenSetting', | 3115 'name': 'DefaultKeygenSetting', |
3080 'type': 'int-enum', | 3116 'type': 'int-enum', |
3081 'schema': { | 3117 'schema': { |
3082 'type': 'integer', | 3118 'type': 'integer', |
3083 'enum': [ 1, 2 ], | 3119 'enum': [ 1, 2 ], |
3084 }, | 3120 }, |
3085 'items': [ | 3121 'items': [ |
3086 { | 3122 { |
3087 'name': 'AllowKeygen', | 3123 'name': 'AllowKeygen', |
3088 'value': 1, | 3124 'value': 1, |
(...skipping 5275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8364 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 8400 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
8365 'text': 'Default Settings (users can override)', | 8401 'text': 'Default Settings (users can override)', |
8366 }, | 8402 }, |
8367 'doc_complex_policies_on_windows': { | 8403 'doc_complex_policies_on_windows': { |
8368 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 8404 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
8369 '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>' '', | 8405 '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>' '', |
8370 }, | 8406 }, |
8371 }, | 8407 }, |
8372 'placeholders': [], | 8408 'placeholders': [], |
8373 } | 8409 } |
OLD | NEW |