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

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: Rebased. 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: 353 142 # For your editing convenience: highest ID currently used: 356
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 9104 matching lines...) Expand 10 before | Expand all | Expand 10 after
9257 'example_value': 2, 9257 'example_value': 2,
9258 'id': 353, 9258 'id': 353,
9259 'caption': '''Sets how often user has to enter password to use quick unloc k.''', 9259 'caption': '''Sets how often user has to enter password to use quick unloc k.''',
9260 'tags': [], 9260 'tags': [],
9261 'desc': '''This setting controls how often the lock screen will request th e password to be entered in order to continue using quick unlock. Each time the lock screen is entered, if the last password entry was more than this setting, t he quick unlock will not be available on entering the lock screen. Should the us er stay on the lock screen past this period of time, a password will be requeste d next time the user enters the wrong code, or re-enters the lock screen, whiche ver comes first. 9261 'desc': '''This setting controls how often the lock screen will request th e password to be entered in order to continue using quick unlock. Each time the lock screen is entered, if the last password entry was more than this setting, t he quick unlock will not be available on entering the lock screen. Should the us er stay on the lock screen past this period of time, a password will be requeste d next time the user enters the wrong code, or re-enters the lock screen, whiche ver comes first.
9262 9262
9263 If this setting is configured, users using quick unlock will be requested to enter their passwords on the lock screen depending on this setting. 9263 If this setting is configured, users using quick unlock will be requested to enter their passwords on the lock screen depending on this setting.
9264 9264
9265 If this setting is not configured, users using quick unlock will be reques ted to enter their password on the lock screen every day.''', 9265 If this setting is not configured, users using quick unlock will be reques ted to enter their password on the lock screen every day.''',
9266 }, 9266 },
9267 {
9268 'name': 'PinUnlockMinimumLength',
9269 'type': 'int',
9270 'schema': { 'type': 'integer' },
9271 'supported_on': ['chrome_os:56-'],
9272 'features': {
9273 'dynamic_refresh': True,
9274 'per_profile': False,
9275 },
9276 'example_value': 4,
9277 'id': 354,
9278 'caption': '''Sets the minimum length of the lock screen PIN.''',
9279 'tags': [],
9280 'desc': '''This setting controls the minimum length a PIN can be.
9281
9282 If this setting is configured to be less than 1, the minimum length a PIN can be is 1.
9283
9284 If this setting is not configured, the minimum length a PIN can be is 4.'' ',
9285 },
9286 {
9287 'name': 'PinUnlockMaximumLength',
9288 'type': 'int',
9289 'schema': { 'type': 'integer' },
9290 'supported_on': ['chrome_os:56-'],
9291 'features': {
9292 'dynamic_refresh': True,
9293 'per_profile': False,
9294 },
9295 'example_value': 0,
9296 'id': 355,
9297 'caption': '''Sets the maximum length of the lock screen PIN.''',
9298 'tags': [],
9299 'desc': '''This setting controls the maximum length a PIN can be.
9300
9301 If this setting is configured to be 0 or less, there is no maximum length and a user can set a PIN as long as they want.
9302
9303 If this setting is less than PinUnlockMinimum but greater than 0, the maxi mum length is the same as the minimum length.
jdufault 2016/11/17 17:50:34 PinUnlockMinimum => PinUnlockMinimumLength
sammiequon 2016/11/17 23:53:15 Done.
9304
9305 If this setting is not configured, there is no maximum length and a user c an set a PIN as long as they want.''',
9306 },
9307 {
9308 'name': 'PinUnlockAllowWeakPins',
9309 'type': 'main',
9310 'schema': { 'type': 'boolean' },
9311 'supported_on': ['chrome_os:56-'],
9312 'features': {
9313 'dynamic_refresh': True,
9314 'per_profile': False,
9315 },
9316 'example_value': False,
9317 'id': 356,
9318 'caption': '''Enables users to set weak PINs for the lock screen PIN.''',
9319 'tags': [],
9320 'desc': '''If this setting is configured to be true, users will be prevent ed from setting PINs that are considered weak. Such PINs include PINs which cont ain the same digit throughout, PINs whose digits are increasing by 1, PINs whose digits are decreasing by 1 and PINs which are too common.
9321
9322 If this setting is configured to be false, or not configured, users can en ter these PINs and will only get a warning display.''',
9323 },
9267 ], 9324 ],
9268 'messages': { 9325 'messages': {
9269 # Messages that are not associated to any policies. 9326 # Messages that are not associated to any policies.
9270 'win_supported_winxpsp2': { 9327 'win_supported_winxpsp2': {
9271 '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:'.''', 9328 '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:'.''',
9272 'text': '''Microsoft Windows XP SP2 or later''' 9329 'text': '''Microsoft Windows XP SP2 or later'''
9273 }, 9330 },
9274 'mac_chrome_preferences': { 9331 'mac_chrome_preferences': {
9275 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9332 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9276 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9333 '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
9390 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9447 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9391 'text': 'Default Settings (users can override)', 9448 'text': 'Default Settings (users can override)',
9392 }, 9449 },
9393 'doc_complex_policies_on_windows': { 9450 'doc_complex_policies_on_windows': {
9394 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9451 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9395 '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>' '', 9452 '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>' '',
9396 }, 9453 },
9397 }, 9454 },
9398 'placeholders': [], 9455 'placeholders': [],
9399 } 9456 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698