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: 312 | 140 # For your editing convenience: highest ID currently used: 315 |
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 2895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3046 'deprecated': True, | 3046 'deprecated': True, |
3047 'example_value': 2, | 3047 'example_value': 2, |
3048 'id': 149, | 3048 'id': 149, |
3049 'caption': '''Default mediastream setting''', | 3049 'caption': '''Default mediastream setting''', |
3050 'tags': ['website-sharing'], | 3050 'tags': ['website-sharing'], |
3051 '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. | 3051 '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. |
3052 | 3052 |
3053 If this policy is left not set, 'PromptOnAccess' will be used and the
user will be able to change it.''', | 3053 If this policy is left not set, 'PromptOnAccess' will be used and the
user will be able to change it.''', |
3054 }, | 3054 }, |
3055 { | 3055 { |
| 3056 'name': 'DefaultKeygenSetting', |
| 3057 'type': 'int-enum', |
| 3058 'schema': { |
| 3059 'type': 'integer', |
| 3060 'enum': [ 1, 2 ], |
| 3061 }, |
| 3062 'items': [ |
| 3063 { |
| 3064 'name': 'AllowKeygen', |
| 3065 'value': 1, |
| 3066 'caption': '''Allow all sites to use key generation''', |
| 3067 }, |
| 3068 { |
| 3069 'name': 'BlockKeygen', |
| 3070 'value': 2, |
| 3071 'caption': '''Do not allow any site to use key generation''', |
| 3072 }, |
| 3073 ], |
| 3074 'supported_on': ['chrome.*:49-', 'chrome_os:49-', 'android:49-'], |
| 3075 'features': { |
| 3076 'dynamic_refresh': True, |
| 3077 'per_profile': True, |
| 3078 }, |
| 3079 'example_value': 2, |
| 3080 'id': 313, |
| 3081 'caption': '''Default key generation setting''', |
| 3082 'tags': ['system-security', 'website-sharing', 'local-data-access'], |
| 3083 'desc': '''Allows you to set whether websites are allowed to use key g
eneration. Using key generation can be either allowed for all websites or denied
for all websites. |
| 3084 |
| 3085 If this policy is left not set, 'BlockKeygen' will be used and the use
r will be able to change it.''', |
| 3086 }, |
| 3087 { |
3056 'name': 'AutoSelectCertificateForUrls', | 3088 'name': 'AutoSelectCertificateForUrls', |
3057 'type': 'list', | 3089 'type': 'list', |
3058 'schema': { | 3090 'schema': { |
3059 'type': 'array', | 3091 'type': 'array', |
3060 'items': { 'type': 'string' }, | 3092 'items': { 'type': 'string' }, |
3061 }, | 3093 }, |
3062 'supported_on': ['chrome.*:15-', 'chrome_os:15-'], | 3094 'supported_on': ['chrome.*:15-', 'chrome_os:15-'], |
3063 'features': { | 3095 'features': { |
3064 'dynamic_refresh': True, | 3096 'dynamic_refresh': True, |
3065 'per_profile': True, | 3097 'per_profile': True, |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3227 }, | 3259 }, |
3228 'example_value': ['https://www.example.com', '[*.]example.edu'], | 3260 'example_value': ['https://www.example.com', '[*.]example.edu'], |
3229 'id': 72, | 3261 'id': 72, |
3230 'caption': '''Block JavaScript on these sites''', | 3262 'caption': '''Block JavaScript on these sites''', |
3231 'tags': [], | 3263 'tags': [], |
3232 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to run JavaScript. | 3264 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to run JavaScript. |
3233 | 3265 |
3234 If this policy is left not set the global default value will be used f
or all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or
the user's personal configuration otherwise.''', | 3266 If this policy is left not set the global default value will be used f
or all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or
the user's personal configuration otherwise.''', |
3235 }, | 3267 }, |
3236 { | 3268 { |
| 3269 'name': 'KeygenAllowedForUrls', |
| 3270 'type': 'list', |
| 3271 'schema': { |
| 3272 'type': 'array', |
| 3273 'items': { 'type': 'string' }, |
| 3274 }, |
| 3275 'supported_on': ['chrome.*:49-', 'chrome_os:49-', 'android:49-'], |
| 3276 'features': { |
| 3277 'dynamic_refresh': True, |
| 3278 'per_profile': True, |
| 3279 }, |
| 3280 'example_value': ['https://www.example.com', '[*.]example.edu'], |
| 3281 'id': 314, |
| 3282 'caption': '''Allow key generation on these sites''', |
| 3283 'tags': ['system-security', 'website-sharing', 'local-data-access'], |
| 3284 'desc': '''Allows you to set a list of url patterns that specify sites
which are allowed to use key generation. If a url pattern is in 'KeygenBlockedF
orUrls', that overrides these exceptions. |
| 3285 |
| 3286 If this policy is left not set the global default value will be used f
or all sites either from the 'DefaultKeygenSetting' policy if it is set, or the
user's personal configuration otherwise.''', |
| 3287 }, |
| 3288 { |
| 3289 'name': 'KeygenBlockedForUrls', |
| 3290 'type': 'list', |
| 3291 'schema': { |
| 3292 'type': 'array', |
| 3293 'items': { 'type': 'string' }, |
| 3294 }, |
| 3295 'supported_on': ['chrome.*:49-', 'chrome_os:49-', 'android:49-'], |
| 3296 'features': { |
| 3297 'dynamic_refresh': True, |
| 3298 'per_profile': True, |
| 3299 }, |
| 3300 'example_value': ['https://www.example.com', '[*.]example.edu'], |
| 3301 'id': 315, |
| 3302 'caption': '''Block key generation on these sites''', |
| 3303 'tags': ['system-security', 'website-sharing', 'local-data-access'], |
| 3304 'desc': '''Allows you to set a list of url patterns that specify sites
which are not allowed to use key generation. If a url pattern is in 'KeygenAllo
wedForUrls', this policy overrides these exceptions. |
| 3305 |
| 3306 If this policy is left not set the global default value will be used f
or all sites either from the 'DefaultKeygenSetting' policy if it is set, or the
user's personal configuration otherwise.''', |
| 3307 }, |
| 3308 { |
3237 'name': 'PluginsAllowedForUrls', | 3309 'name': 'PluginsAllowedForUrls', |
3238 'type': 'list', | 3310 'type': 'list', |
3239 'schema': { | 3311 'schema': { |
3240 'type': 'array', | 3312 'type': 'array', |
3241 'items': { 'type': 'string' }, | 3313 'items': { 'type': 'string' }, |
3242 }, | 3314 }, |
3243 'supported_on': ['chrome.*:11-', 'chrome_os:11-'], | 3315 'supported_on': ['chrome.*:11-', 'chrome_os:11-'], |
3244 'features': { | 3316 'features': { |
3245 'dynamic_refresh': True, | 3317 'dynamic_refresh': True, |
3246 'per_profile': True, | 3318 'per_profile': True, |
(...skipping 4958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8205 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 8277 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
8206 'text': 'Default Settings (users can override)', | 8278 'text': 'Default Settings (users can override)', |
8207 }, | 8279 }, |
8208 'doc_complex_policies_on_windows': { | 8280 'doc_complex_policies_on_windows': { |
8209 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 8281 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
8210 '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>'
'', | 8282 '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>'
'', |
8211 }, | 8283 }, |
8212 }, | 8284 }, |
8213 'placeholders': [], | 8285 'placeholders': [], |
8214 } | 8286 } |
OLD | NEW |