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

Unified 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 23 errors. Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 91e8e67765603292593df3ebf707bb44a1cb096b..b6406f8510b875c84fd3f8a5ed6bd7e218efc5d0 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -139,7 +139,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 353
+# For your editing convenience: highest ID currently used: 356
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -9274,6 +9274,63 @@
If this setting is not configured, users using quick unlock will be requested to enter their password on the lock screen every day.''',
},
+ {
+ 'name': 'PinUnlockMinimumLength',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:56-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 4,
+ 'id': 354,
+ 'caption': '''Sets the minimum length of the lock screen PIN.''',
+ 'tags': [],
+ 'desc': '''This setting controls the minimum length a PIN can be.
+
+ If this setting is configured to be less than 1, the minimum length a PIN can be is 1.
+
+ If this setting is not configured, the minimum length a PIN can be is 4.''',
+ },
+ {
+ 'name': 'PinUnlockMaximumLength',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:56-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 0,
+ 'id': 355,
+ 'caption': '''Sets the maximum length of the lock screen PIN.''',
+ 'tags': [],
+ 'desc': '''This setting controls the maximum length a PIN can be.
+
+ 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.
+
+ If this setting is less than PinUnlockMinimumLength but greater than 0, the maximum length is the same as the minimum length.
+
+ If this setting is not configured, there is no maximum length and a user can set a PIN as long as they want.''',
+ },
+ {
+ 'name': 'PinUnlockAllowWeakPins',
pastarmovj 2016/12/02 08:26:12 To be consistent (at least with the recently added
sammiequon 2016/12/02 18:48:58 Done.
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome_os:56-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': False,
+ 'id': 356,
+ 'caption': '''Enables users to set weak PINs for the lock screen PIN.''',
+ 'tags': [],
+ 'desc': '''If this setting is configured to be true, users will be prevented from setting PINs that are considered weak. Such PINs include PINs which contain the same digit throughout, PINs whose digits are increasing by 1, PINs whose digits are decreasing by 1 and PINs which are too common.
+
+ If this setting is configured to be false, or not configured, users can enter these PINs and will only get a warning display.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698