Chromium Code Reviews| 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: 325 | 140 # For your editing convenience: highest ID currently used: 328 |
| 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 2986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3137 }, | 3137 }, |
| 3138 'example_value': 2, | 3138 'example_value': 2, |
| 3139 'id': 313, | 3139 'id': 313, |
| 3140 'caption': '''Default key generation setting''', | 3140 'caption': '''Default key generation setting''', |
| 3141 'tags': ['system-security', 'website-sharing', 'local-data-access'], | 3141 'tags': ['system-security', 'website-sharing', 'local-data-access'], |
| 3142 '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. | 3142 '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. |
| 3143 | 3143 |
| 3144 If this policy is left not set, 'BlockKeygen' will be used and the use r will be able to change it.''', | 3144 If this policy is left not set, 'BlockKeygen' will be used and the use r will be able to change it.''', |
| 3145 }, | 3145 }, |
| 3146 { | 3146 { |
| 3147 'name': 'UserCookiesExceptionsUsage', | |
|
bartfab (slow)
2016/04/11 10:27:31
This is still a weird name. "Usage" sounds extreme
huangs
2016/04/11 19:01:03
How about "UserCookiesExceptionsOverride" ?
bartfab (slow)
2016/04/12 12:55:16
I am looking for something that is unambiguous. "U
| |
| 3148 'type': 'int-enum', | |
| 3149 'schema': { | |
| 3150 'type': 'integer', | |
| 3151 'enum': [ 1, 2 ], | |
| 3152 }, | |
| 3153 'items': [ | |
| 3154 { | |
| 3155 'name': 'AllowUserCookiesExceptions', | |
| 3156 'value': 1, | |
| 3157 'caption': '''Allow users to specify cookies exceptions''', | |
| 3158 }, | |
| 3159 { | |
| 3160 'name': 'BlockUserCookiesExceptions', | |
| 3161 'value': 2, | |
| 3162 'caption': '''Do not allow users to specify cookies exceptions''', | |
| 3163 }, | |
| 3164 ], | |
| 3165 'supported_on': [ | |
| 3166 'chrome.*:51-', | |
| 3167 'chrome_os:51-', | |
| 3168 ], | |
| 3169 'features': { | |
| 3170 'dynamic_refresh': True, | |
| 3171 'per_profile': True, | |
| 3172 }, | |
| 3173 'example_value': 1, | |
| 3174 'id': 327, | |
| 3175 'caption': '''User cookies exceptions usage setting''', | |
| 3176 'tags': [], | |
| 3177 'desc': '''Allows you to specify whether users can set exceptions to o verride default cookies policy. | |
| 3178 | |
| 3179 If this policy is left not set, user's ability to set exceptions depen ds on policy default cookies setting.''', | |
| 3180 }, | |
| 3181 { | |
| 3182 'name': 'UserPopupsExceptionsUsage', | |
| 3183 'type': 'int-enum', | |
| 3184 'schema': { | |
| 3185 'type': 'integer', | |
| 3186 'enum': [ 1, 2 ], | |
| 3187 }, | |
| 3188 'items': [ | |
| 3189 { | |
| 3190 'name': 'AllowUserPopupsExceptions', | |
| 3191 'value': 1, | |
| 3192 'caption': '''Allow users to specify pop-ups exceptions''', | |
| 3193 }, | |
| 3194 { | |
| 3195 'name': 'BlockUserPopupsExceptions', | |
| 3196 'value': 2, | |
| 3197 'caption': '''Do not allow users to specify pop-ups exceptions''', | |
| 3198 }, | |
| 3199 ], | |
| 3200 'supported_on': [ | |
| 3201 'chrome.*:51-', | |
| 3202 'chrome_os:51-', | |
| 3203 ], | |
| 3204 'features': { | |
| 3205 'dynamic_refresh': True, | |
| 3206 'per_profile': True, | |
| 3207 }, | |
| 3208 'example_value': 1, | |
| 3209 'id': 328, | |
| 3210 'caption': '''User pop-ups exceptions usage setting''', | |
| 3211 'tags': [], | |
| 3212 'desc': '''Allows you to specify whether users can set exceptions to o verride default pop-ups policy. | |
| 3213 | |
| 3214 If this policy is left not set, user's ability to set exceptions depen ds on policy default pop-ups setting.''', | |
| 3215 }, | |
| 3216 { | |
| 3147 'name': 'AutoSelectCertificateForUrls', | 3217 'name': 'AutoSelectCertificateForUrls', |
| 3148 'type': 'list', | 3218 'type': 'list', |
| 3149 'schema': { | 3219 'schema': { |
| 3150 'type': 'array', | 3220 'type': 'array', |
| 3151 'items': { 'type': 'string' }, | 3221 'items': { 'type': 'string' }, |
| 3152 }, | 3222 }, |
| 3153 'supported_on': ['chrome.*:15-', 'chrome_os:15-'], | 3223 'supported_on': ['chrome.*:15-', 'chrome_os:15-'], |
| 3154 'features': { | 3224 'features': { |
| 3155 'dynamic_refresh': True, | 3225 'dynamic_refresh': True, |
| 3156 'per_profile': True, | 3226 'per_profile': True, |
| (...skipping 5422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8579 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 8649 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 8580 'text': 'Default Settings (users can override)', | 8650 'text': 'Default Settings (users can override)', |
| 8581 }, | 8651 }, |
| 8582 'doc_complex_policies_on_windows': { | 8652 'doc_complex_policies_on_windows': { |
| 8583 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 8653 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 8584 '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>' '', | 8654 '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>' '', |
| 8585 }, | 8655 }, |
| 8586 }, | 8656 }, |
| 8587 'placeholders': [], | 8657 'placeholders': [], |
| 8588 } | 8658 } |
| OLD | NEW |