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: 345 | 140 # For your editing convenience: highest ID currently used: 346 |
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 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1085 'features': { | 1085 'features': { |
1086 'can_be_recommended': False, | 1086 'can_be_recommended': False, |
1087 'dynamic_refresh': True, | 1087 'dynamic_refresh': True, |
1088 'per_profile': True, | 1088 'per_profile': True, |
1089 }, | 1089 }, |
1090 'deprecated': True, | 1090 'deprecated': True, |
1091 'example_value': False, | 1091 'example_value': False, |
1092 'id': 162, | 1092 'id': 162, |
1093 'caption': '''Force SafeSearch''', | 1093 'caption': '''Force SafeSearch''', |
1094 'tags': ['filtering'], | 1094 'tags': ['filtering'], |
1095 'desc': '''This policy is deprecated, please use ForceGoogleSafeSearch and ForceYouTubeSafetyMode instead. This policy will be ignored if either the Force GoogleSafeSearch or ForceYouTubeSafetyMode policies are set. | 1095 'desc': '''This policy is deprecated, please use <ph name="FORCEGOOGLESAFE SEARCH_POLICY_NAME">ForceGoogleSafeSearch</ph> and <ph name="FORCEYOUTUBERESTRIC T_POLICY_NAME">ForceYouTubeRestrict</ph> instead. This policy is ignored if eith er the <ph name="FORCEGOOGLESAFESEARCH_POLICY_NAME">ForceGoogleSafeSearch</ph>, the <ph name="FORCEYOUTUBERESTRICT_POLICY_NAME">ForceYouTubeRestrict</ph> or the (deprecated) <ph name="FORCEYOUTUBESAFETYMODE_POLICY_NAME">ForceYouTubeSafetyMo de</ph> policies are set. |
1096 | 1096 |
1097 Forces queries in Google Web Search to be done with SafeSearch set to acti ve and prevents users from changing this setting. This setting also forces Safet y Mode on YouTube. | 1097 Forces queries in Google Web Search to be done with SafeSearch set to acti ve and prevents users from changing this setting. This setting also forces Moder ate Restricted Mode on YouTube. |
1098 | 1098 |
1099 If you enable this setting, SafeSearch in Google Search and YouTube is alw ays active. | 1099 If you enable this setting, SafeSearch in Google Search and Moderate Restr icted Mode YouTube is always active. |
1100 | 1100 |
1101 If you disable this setting or do not set a value, SafeSearch in Google Se arch and YouTube is not enforced.''', | 1101 If you disable this setting or do not set a value, SafeSearch in Google Se arch and Restricted Mode in YouTube is not enforced.''', |
1102 }, | 1102 }, |
1103 { | 1103 { |
1104 'name': 'ForceGoogleSafeSearch', | 1104 'name': 'ForceGoogleSafeSearch', |
1105 'type': 'main', | 1105 'type': 'main', |
1106 'schema': { 'type': 'boolean' }, | 1106 'schema': { 'type': 'boolean' }, |
1107 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'], | 1107 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'], |
1108 'features': { | 1108 'features': { |
1109 'can_be_recommended': False, | 1109 'can_be_recommended': False, |
1110 'dynamic_refresh': True, | 1110 'dynamic_refresh': True, |
1111 'per_profile': True, | 1111 'per_profile': True, |
(...skipping 11 matching lines...) Expand all Loading... | |
1123 { | 1123 { |
1124 'name': 'ForceYouTubeSafetyMode', | 1124 'name': 'ForceYouTubeSafetyMode', |
1125 'type': 'main', | 1125 'type': 'main', |
1126 'schema': { 'type': 'boolean' }, | 1126 'schema': { 'type': 'boolean' }, |
1127 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'], | 1127 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'], |
1128 'features': { | 1128 'features': { |
1129 'can_be_recommended': False, | 1129 'can_be_recommended': False, |
1130 'dynamic_refresh': True, | 1130 'dynamic_refresh': True, |
1131 'per_profile': True, | 1131 'per_profile': True, |
1132 }, | 1132 }, |
1133 'deprecated': True, | |
1133 'example_value': False, | 1134 'example_value': False, |
1134 'id': 283, | 1135 'id': 283, |
1135 'caption': '''Force YouTube Safety Mode''', | 1136 'caption': '''Force YouTube Safety Mode''', |
1136 'tags': ['filtering'], | 1137 'tags': ['filtering'], |
1137 'desc': '''Forces YouTube Safety Mode to active and prevents users from ch anging this setting. | 1138 'desc': '''This policy is deprecated. Consider using <ph name="FORCEYOUTUB ERESTRICT_POLICY_NAME">ForceYouTubeRestrict</ph>, which allows more fine-grained tuning. |
1138 | 1139 |
1139 If you enable this setting, Safety Mode on YouTube is always active. | 1140 Forces YouTube Moderate Restricted Mode and prevents users from changing t his setting. |
1140 | 1141 |
1141 If you disable this setting or do not set a value, Safety Mode on YouTube is not enforced.''', | 1142 If you enable this setting, Restricted Mode on YouTube is always enforced to be at least Moderate. |
1143 | |
1144 If you disable this setting or do not set a value, Restricted Mode on YouT ube is not enforced.''', | |
1142 'arc_support': 'This policy has no effect on the Android YouTube app. If y ou want to enforce Safety Mode on YouTube, you should disallow installation of t he Android YouTube app.', | 1145 'arc_support': 'This policy has no effect on the Android YouTube app. If y ou want to enforce Safety Mode on YouTube, you should disallow installation of t he Android YouTube app.', |
1143 }, | 1146 }, |
1144 { | 1147 { |
1148 'name': 'ForceYouTubeRestrict', | |
1149 'type': 'int-enum', | |
1150 'schema': { | |
1151 'type': 'integer', | |
1152 'enum': [ 0, 1, 2 ], | |
1153 }, | |
1154 'items': [ | |
1155 { | |
1156 'name': 'Off', | |
1157 'value': 0, | |
1158 'caption': '''Do not enforce Restricted Mode on YouTube''', | |
1159 }, | |
1160 { | |
1161 'name': 'Moderate', | |
1162 'value': 1, | |
1163 'caption': '''Enforce at least Moderate Restricted Mode on YouTube''', | |
1164 }, | |
1165 { | |
1166 'name': 'Strict', | |
1167 'value': 2, | |
1168 'caption': '''Enforce Strict Restricted Mode for YouTube''', | |
1169 }, | |
1170 ], | |
1171 'supported_on': ['chrome.*:54-', 'chrome_os:54-', 'android:54-'], | |
1172 'features': { | |
1173 'can_be_recommended': False, | |
1174 'dynamic_refresh': True, | |
1175 'per_profile': True, | |
1176 }, | |
1177 'example_value': 0, | |
1178 'id': 346, | |
1179 'caption': '''Force minimum YouTube Restricted Mode''', | |
1180 'tags': ['filtering'], | |
1181 'desc': '''Enforces a minimum Restricted Mode on YouTube and prevents user s from | |
1182 picking a less restricted mode. | |
1183 | |
1184 If this setting is set to Strict, Strict Restricted Mode on YouTube is alw ays active. | |
1185 | |
1186 If this setting is set to Moderate, the user may only pick Moderate Restri cted Mode | |
1187 and Strict Restricted Mode on YouTube, but cannot disable Restricted Mode. | |
1188 | |
1189 If this setting is set to Off or no value is set, Restricted Mode on YouTu be is not enforced. The user may pick any value''', | |
Marc Treib
2016/09/05 09:58:11
nit: Add a final period.
ljusten (tachyonic)
2016/09/05 15:24:32
Done.
| |
1190 'arc_support': 'This policy has no effect on the Android YouTube app. If y ou want to enforce Safety Mode on YouTube, you should disallow installation of t he Android YouTube app.', | |
1191 }, | |
1192 { | |
1145 'name': 'SafeBrowsingEnabled', | 1193 'name': 'SafeBrowsingEnabled', |
1146 'type': 'main', | 1194 'type': 'main', |
1147 'schema': { 'type': 'boolean' }, | 1195 'schema': { 'type': 'boolean' }, |
1148 'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'], | 1196 'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'], |
1149 'features': { | 1197 'features': { |
1150 'can_be_recommended': True, | 1198 'can_be_recommended': True, |
1151 'dynamic_refresh': True, | 1199 'dynamic_refresh': True, |
1152 'per_profile': True, | 1200 'per_profile': True, |
1153 }, | 1201 }, |
1154 'example_value': True, | 1202 'example_value': True, |
(...skipping 7937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9092 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 9140 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
9093 'text': 'Default Settings (users can override)', | 9141 'text': 'Default Settings (users can override)', |
9094 }, | 9142 }, |
9095 'doc_complex_policies_on_windows': { | 9143 'doc_complex_policies_on_windows': { |
9096 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 9144 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
9097 '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>' '', | 9145 '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>' '', |
9098 }, | 9146 }, |
9099 }, | 9147 }, |
9100 'placeholders': [], | 9148 'placeholders': [], |
9101 } | 9149 } |
OLD | NEW |