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

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

Issue 1587653002: Adding Keygen to Policy List (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix upstream. Created 4 years, 11 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
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 3035 matching lines...) Expand 10 before | Expand all | Expand 10 after
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-', 'ios: 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': [],
Ryan Sleevi 2016/01/14 22:09:34 'system-security', 'website-sharing', 'local-data-
svaldez 2016/01/14 22:12:06 Done.
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
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-', 'ios: 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': [],
Ryan Sleevi 2016/01/14 22:09:34 'system-security', 'website-sharing', 'local-data-
svaldez 2016/01/14 22:12:06 Done.
3284 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to use key generation.
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-', 'ios: 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': [],
Ryan Sleevi 2016/01/14 22:09:34 'system-security', 'website-sharing', 'local-data-
svaldez 2016/01/14 22:12:06 Done.
3304 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to use key generation.
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698