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

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

Issue 2374303002: cros: Added a new function to quick unlock api for checking unfinished pins. (Closed)
Patch Set: Fixed patch set 10 errors. Created 4 years, 1 month 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 # templates and documentation. The policy definition list that Chrome sees 132 # templates and documentation. The policy definition list that Chrome sees
133 # will include policies marked with 'future'. If a WIP policy isn't meant to 133 # will include policies marked with 'future'. If a WIP policy isn't meant to
134 # be seen by the policy providers either, the 'supported_on' key should be set 134 # be seen by the policy providers either, the 'supported_on' key should be set
135 # to an empty list. 135 # to an empty list.
136 # 136 #
137 # IDs: 137 # IDs:
138 # Since a Protocol Buffer definition is generated from this file, unique and 138 # Since a Protocol Buffer definition is generated from this file, unique and
139 # persistent IDs for all fields (but not for groups!) are needed. These are 139 # persistent IDs for all fields (but not for groups!) are needed. These are
140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
141 # because doing so would break the deployed wire format! 141 # because doing so would break the deployed wire format!
142 # For your editing convenience: highest ID currently used: 349 142 # For your editing convenience: highest ID currently used: 352
143 # 143 #
144 # Placeholders: 144 # Placeholders:
145 # The following placeholder strings are automatically substituted: 145 # The following placeholder strings are automatically substituted:
146 # $1 -> Google Chrome / Chromium 146 # $1 -> Google Chrome / Chromium
147 # $2 -> Google Chrome OS / Chromium OS 147 # $2 -> Google Chrome OS / Chromium OS
148 # $3 -> Google Chrome Frame / Chromium Frame 148 # $3 -> Google Chrome Frame / Chromium Frame
149 # $6 is reserved for doc_writer 149 # $6 is reserved for doc_writer
150 # 150 #
151 # Device Policy: 151 # Device Policy:
152 # An additional flag 'device_only' (optional, defaults to False) indicates 152 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 8921 matching lines...) Expand 10 before | Expand all | Expand 10 after
9074 }, 9074 },
9075 'example_value': True, 9075 'example_value': True,
9076 'id': 342, 9076 'id': 342,
9077 'caption': '''Enables component updates in <ph name="PRODUCT_NAME">$1<ex>G oogle Chrome</ex></ph>.''', 9077 'caption': '''Enables component updates in <ph name="PRODUCT_NAME">$1<ex>G oogle Chrome</ex></ph>.''',
9078 'tags': [], 9078 'tags': [],
9079 'desc': '''Enables component updates for all components in <ph name="PRODU CT_NAME">$1<ex>Google Chrome</ex></ph> when not set or set to True. 9079 'desc': '''Enables component updates for all components in <ph name="PRODU CT_NAME">$1<ex>Google Chrome</ex></ph> when not set or set to True.
9080 9080
9081 If set to False, updates to components are disabled. However, some compone nts are exempt from this policy: updates to any component that does not contain executable code, or does not significantly alter the behavior of the browser, or is critical for its security will not be disabled. 9081 If set to False, updates to components are disabled. However, some compone nts are exempt from this policy: updates to any component that does not contain executable code, or does not significantly alter the behavior of the browser, or is critical for its security will not be disabled.
9082 Examples of such components include the certificate revocation lists and s afe browsing data. ''', 9082 Examples of such components include the certificate revocation lists and s afe browsing data. ''',
9083 }, 9083 },
9084 {
9085 'name': 'PinUnlockMinimumLength',
9086 'type': 'int',
9087 'schema': { 'type': 'integer' },
9088 'supported_on': ['chrome_os:55-'],
9089 'features': {
9090 'dynamic_refresh': True,
9091 'per_profile': False,
9092 },
9093 'example_value': 4,
9094 'id': 350,
9095 'caption': '''Sets the minimum length of the lock screen pin.''',
9096 'tags': [],
9097 'desc': '''Pins created for the lock screen must have a length equal or gr eater than this value.''',
jdufault 2016/11/01 18:56:45 Pins => PINs
sammiequon 2016/11/02 18:05:25 Done.
9098 },
9099 {
9100 'name': 'PinUnlockMaximumLength',
9101 'type': 'int',
9102 'schema': { 'type': 'integer' },
9103 'supported_on': ['chrome_os:55-'],
9104 'features': {
9105 'dynamic_refresh': True,
9106 'per_profile': False,
9107 },
9108 'example_value': 0,
9109 'id': 351,
9110 'caption': '''Sets the maximum length of the lock screen pin.''',
9111 'tags': [],
9112 'desc': '''Pins created for the lock screen must have a length equal or le sser than this value. If this value is 0, or is less than PinUnlockMinimumLength , pins will have no maximum.''',
jdufault 2016/11/01 18:56:45 a length equal or lesser than => a length equal to
jdufault 2016/11/01 18:56:45 Pins => PINs
jdufault 2016/11/01 18:56:45 If this value is 0, or is less than => If this val
sammiequon 2016/11/02 18:05:25 Changed the description a bit.
sammiequon 2016/11/02 18:05:25 Done.
sammiequon 2016/11/02 18:05:25 Done.
9113 },
9114 {
9115 'name': 'PinUnlockAllowWeakPins',
9116 'type': 'main',
9117 'schema': { 'type': 'boolean' },
9118 'supported_on': ['chrome_os:55-'],
9119 'features': {
9120 'dynamic_refresh': True,
9121 'per_profile': False,
9122 },
9123 'example_value': False,
9124 'id': 352,
9125 'caption': '''Enables users to set weak pins for the lock screen pin.''',
9126 'tags': [],
9127 'desc': '''If this is set to true users cannot set weak pins for the lock screen pin. Such pins include pins whose digits are all the same number, or are increasing.''',
jdufault 2016/11/01 18:56:45 I wonder if these strings need to get approved by
jdufault 2016/11/01 18:56:45 pins => PINs
sammiequon 2016/11/02 18:05:25 Done.
sammiequon 2016/11/02 18:05:25 Messaged Tom.
9128 },
9084 ], 9129 ],
9085 'messages': { 9130 'messages': {
9086 # Messages that are not associated to any policies. 9131 # Messages that are not associated to any policies.
9087 'win_supported_winxpsp2': { 9132 'win_supported_winxpsp2': {
9088 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 9133 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
9089 'text': '''Microsoft Windows XP SP2 or later''' 9134 'text': '''Microsoft Windows XP SP2 or later'''
9090 }, 9135 },
9091 'mac_chrome_preferences': { 9136 'mac_chrome_preferences': {
9092 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9137 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9093 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9138 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
9207 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9252 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9208 'text': 'Default Settings (users can override)', 9253 'text': 'Default Settings (users can override)',
9209 }, 9254 },
9210 'doc_complex_policies_on_windows': { 9255 'doc_complex_policies_on_windows': {
9211 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9256 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9212 '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>' '', 9257 '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>' '',
9213 }, 9258 },
9214 }, 9259 },
9215 'placeholders': [], 9260 'placeholders': [],
9216 } 9261 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698