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

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

Issue 2239753002: Added a ForceYouTubeRestrict policy and deprecated the old ForceYouTubeSafetyMode policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 339 140 # For your editing convenience: highest ID currently used: 340
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 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 'features': { 1046 'features': {
1047 'can_be_recommended': False, 1047 'can_be_recommended': False,
1048 'dynamic_refresh': True, 1048 'dynamic_refresh': True,
1049 'per_profile': True, 1049 'per_profile': True,
1050 }, 1050 },
1051 'deprecated': True, 1051 'deprecated': True,
1052 'example_value': False, 1052 'example_value': False,
1053 'id': 162, 1053 'id': 162,
1054 'caption': '''Force SafeSearch''', 1054 'caption': '''Force SafeSearch''',
1055 'tags': ['filtering'], 1055 'tags': ['filtering'],
1056 '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. 1056 'desc': '''This policy is deprecated, please use ForceGoogleSafeSearch and ForceYouTubeRestrict instead. This policy will be ignored if either the ForceGo ogleSafeSearch, the ForceYouTubeRestrict or the (deprecated) ForceYouTubeSafetyM ode policies are set.
Thiemo Nagel 2016/08/12 12:12:21 Please wrap policy names in <ph name...>...</ph> t
ljusten (tachyonic) 2016/08/16 09:24:54 Acknowledged.
1057 1057
1058 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. 1058 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.
1059 1059
1060 If you enable this setting, SafeSearch in Google Search and YouTube is alw ays active. 1060 If you enable this setting, SafeSearch in Google Search and Moderate Restr icted Mode YouTube is always active.
1061 1061
1062 If you disable this setting or do not set a value, SafeSearch in Google Se arch and YouTube is not enforced.''', 1062 If you disable this setting or do not set a value, SafeSearch in Google Se arch and Restricted Mode in YouTube is not enforced.''',
1063 }, 1063 },
1064 { 1064 {
1065 'name': 'ForceGoogleSafeSearch', 1065 'name': 'ForceGoogleSafeSearch',
1066 'type': 'main', 1066 'type': 'main',
1067 'schema': { 'type': 'boolean' }, 1067 'schema': { 'type': 'boolean' },
1068 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'], 1068 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'],
1069 'features': { 1069 'features': {
1070 'can_be_recommended': False, 1070 'can_be_recommended': False,
1071 'dynamic_refresh': True, 1071 'dynamic_refresh': True,
1072 'per_profile': True, 1072 'per_profile': True,
(...skipping 11 matching lines...) Expand all
1084 { 1084 {
1085 'name': 'ForceYouTubeSafetyMode', 1085 'name': 'ForceYouTubeSafetyMode',
1086 'type': 'main', 1086 'type': 'main',
1087 'schema': { 'type': 'boolean' }, 1087 'schema': { 'type': 'boolean' },
1088 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'], 1088 'supported_on': ['chrome.*:41-', 'chrome_os:41-', 'android:41-'],
1089 'features': { 1089 'features': {
1090 'can_be_recommended': False, 1090 'can_be_recommended': False,
1091 'dynamic_refresh': True, 1091 'dynamic_refresh': True,
1092 'per_profile': True, 1092 'per_profile': True,
1093 }, 1093 },
1094 'deprecated': True,
1094 'example_value': False, 1095 'example_value': False,
1095 'id': 283, 1096 'id': 283,
1096 'caption': '''Force YouTube Safety Mode''', 1097 'caption': '''Force YouTube Safety Mode''',
1097 'tags': ['filtering'], 1098 'tags': ['filtering'],
1098 'desc': '''Forces YouTube Safety Mode to active and prevents users from ch anging this setting. 1099 'desc': '''This policy is deprecated. Consider using ForceYouTubeRestrict, which allows more fine-grained tuning.
1099 1100
1100 If you enable this setting, Safety Mode on YouTube is always active. 1101 Forces YouTube Moderate Restricted Mode and prevents users from changing t his setting.
1101 1102
1102 If you disable this setting or do not set a value, Safety Mode on YouTube is not enforced.''', 1103 If you enable this setting, Restricted Mode on YouTube is always enforced to be at least Moderate.
1104
1105 If you disable this setting or do not set a value, Restricted Mode on YouT ube is not enforced.''',
1106 },
1107 {
1108 'name': 'ForceYouTubeRestrict',
1109 'type': 'int-enum',
1110 'schema': {
1111 'type': 'integer',
1112 'enum': [ 0, 1, 2 ],
1113 },
1114 'items': [
1115 {
1116 'name': 'Off',
1117 'value': 0,
1118 'caption': '''Do not enforce Restricted Mode on YouTube''',
1119 },
1120 {
1121 'name': 'Moderate',
1122 'value': 1,
1123 'caption': '''Enforce at least Moderate Restricted Mode on YouTube''',
1124 },
1125 {
1126 'name': 'Strict',
1127 'value': 2,
1128 'caption': '''Enforce Strict Restricted Mode for YouTube''',
1129 },
1130 ],
1131 'supported_on': ['chrome.*:54-', 'chrome_os:54-', 'android:54-'],
1132 'features': {
1133 'can_be_recommended': False,
1134 'dynamic_refresh': True,
1135 'per_profile': True,
1136 },
1137 'example_value': 0,
1138 'id': 340,
1139 'caption': '''Force minimum YouTube Restricted Mode''',
1140 'tags': ['filtering'],
1141 'desc': '''Enforces a minimum Restricted Mode on YouTube and prevents user s from
1142 picking a less restricted mode.
1143
1144 If you set this setting to Strict, Strict Restricted Mode on YouTube is al ways active.
Thiemo Nagel 2016/08/12 12:12:21 Style nit: Imho passive voice should be preferred
ljusten (tachyonic) 2016/08/16 09:24:54 Done.
1145
1146 If you set this setting to Moderate, the user may only pick Moderate Restr icted Mode
1147 and Strict Restricted Mode on YouTube, but cannot disable Restricted Mode.
1148
1149 If you set this setting to Off or do not set a value, Restricted Mode on Y ouTube is
1150 not enforced. The user may pick any value''',
1103 }, 1151 },
1104 { 1152 {
1105 'name': 'SafeBrowsingEnabled', 1153 'name': 'SafeBrowsingEnabled',
1106 'type': 'main', 1154 'type': 'main',
1107 'schema': { 'type': 'boolean' }, 1155 'schema': { 'type': 'boolean' },
1108 'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'], 1156 'supported_on': ['chrome.*:8-', 'chrome_os:11-', 'android:30-'],
1109 'features': { 1157 'features': {
1110 'can_be_recommended': True, 1158 'can_be_recommended': True,
1111 'dynamic_refresh': True, 1159 'dynamic_refresh': True,
1112 'per_profile': True, 1160 'per_profile': True,
(...skipping 7821 matching lines...) Expand 10 before | Expand all | Expand 10 after
8934 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8982 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8935 'text': 'Default Settings (users can override)', 8983 'text': 'Default Settings (users can override)',
8936 }, 8984 },
8937 'doc_complex_policies_on_windows': { 8985 'doc_complex_policies_on_windows': {
8938 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8986 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8939 '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>' '', 8987 '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>' '',
8940 }, 8988 },
8941 }, 8989 },
8942 'placeholders': [], 8990 'placeholders': [],
8943 } 8991 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698