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

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: 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 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 d6d58d7a62629c32bb596488dc6fbc157aadd3d5..fb9ca90b6420ac8166cfc0007d2e6513830adbb3 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: 349
+# For your editing convenience: highest ID currently used: 353
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -9151,7 +9151,52 @@
This policy has no effect on whether users can configure printers on
individual devices. It is intended to be supplementary to the
configuration of printers by individual users.''',
- }
+ },
+ {
+ 'name': 'PinUnlockMinimumLength',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:56-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 4,
+ 'id': 351,
+ 'caption': '''Sets the minimum length of the lock screen PIN.''',
+ 'tags': [],
+ 'desc': '''PINs created for the lock screen must have a length equal or greater than this value.''',
+ },
+ {
+ 'name': 'PinUnlockMaximumLength',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:56-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 0,
+ 'id': 352,
+ 'caption': '''Sets the maximum length of the lock screen PIN.''',
+ 'tags': [],
+ 'desc': '''PINs created for the lock screen must have a length equal or less than this value. If this value is 0, there is no maximum length. If this value is not 0, but shorter than PinUnlockMinimumLength, this value will be the same as PinUnlockMinimumLength.''',
+ },
+ {
+ 'name': 'PinUnlockAllowWeakPins',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome_os:56-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': False,
+ 'id': 353,
+ 'caption': '''Enables users to set weak PINs for the lock screen PIN.''',
+ 'tags': [],
+ '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.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.

Powered by Google App Engine
This is Rietveld 408576698