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

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 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 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 9041 matching lines...) Expand 10 before | Expand all | Expand 10 after
9194 9194
9195 Printer setup is completed upon the first use of a printer. PPDs are not 9195 Printer setup is completed upon the first use of a printer. PPDs are not
9196 downloaded until the printer is used. After that time, frequently used 9196 downloaded until the printer is used. After that time, frequently used
9197 PPDs are cached. 9197 PPDs are cached.
9198 9198
9199 This policy has no effect on whether users can configure printers on 9199 This policy has no effect on whether users can configure printers on
9200 individual devices. It is intended to be supplementary to the 9200 individual devices. It is intended to be supplementary to the
9201 configuration of printers by individual users.''', 9201 configuration of printers by individual users.''',
9202 }, 9202 },
9203 { 9203 {
9204 'name': 'QuickUnlockModeWhitelist', 9204 'name': 'QuickUnlockModeWhitelist',
pastarmovj 2016/12/02 08:26:12 Consider grouping all PIN related policies in a gr
sammiequon 2016/12/02 18:48:58 Done.
9205 'type': 'list', 9205 'type': 'list',
9206 'schema': { 9206 'schema': {
9207 'type': 'array', 9207 'type': 'array',
9208 'items': { 9208 'items': {
9209 'type': 'string', 9209 'type': 'string',
9210 'enum': [ 9210 'enum': [
9211 'all', 9211 'all',
9212 'PIN' 9212 'PIN'
9213 ], 9213 ],
9214 }, 9214 },
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
9267 'example_value': 2, 9267 'example_value': 2,
9268 'id': 353, 9268 'id': 353,
9269 'caption': '''Sets how often user has to enter password to use quick unloc k.''', 9269 'caption': '''Sets how often user has to enter password to use quick unloc k.''',
9270 'tags': [], 9270 'tags': [],
9271 '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. 9271 '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.
9272 9272
9273 If this setting is configured, users using quick unlock will be requested to enter their passwords on the lock screen depending on this setting. 9273 If this setting is configured, users using quick unlock will be requested to enter their passwords on the lock screen depending on this setting.
9274 9274
9275 If this setting is not configured, users using quick unlock will be reques ted to enter their password on the lock screen every day.''', 9275 If this setting is not configured, users using quick unlock will be reques ted to enter their password on the lock screen every day.''',
9276 }, 9276 },
9277 {
9278 'name': 'PinUnlockMinimumLength',
9279 'type': 'int',
9280 'schema': { 'type': 'integer' },
9281 'supported_on': ['chrome_os:56-'],
9282 'features': {
9283 'dynamic_refresh': True,
9284 'per_profile': False,
9285 },
9286 'example_value': 4,
9287 'id': 354,
9288 'caption': '''Sets the minimum length of the lock screen PIN.''',
9289 'tags': [],
9290 'desc': '''This setting controls the minimum length a PIN can be.
9291
9292 If this setting is configured to be less than 1, the minimum length a PIN can be is 1.
9293
9294 If this setting is not configured, the minimum length a PIN can be is 4.'' ',
9295 },
9296 {
9297 'name': 'PinUnlockMaximumLength',
9298 'type': 'int',
9299 'schema': { 'type': 'integer' },
9300 'supported_on': ['chrome_os:56-'],
9301 'features': {
9302 'dynamic_refresh': True,
9303 'per_profile': False,
9304 },
9305 'example_value': 0,
9306 'id': 355,
9307 'caption': '''Sets the maximum length of the lock screen PIN.''',
9308 'tags': [],
9309 'desc': '''This setting controls the maximum length a PIN can be.
9310
9311 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.
9312
9313 If this setting is less than PinUnlockMinimumLength but greater than 0, th e maximum length is the same as the minimum length.
9314
9315 If this setting is not configured, there is no maximum length and a user c an set a PIN as long as they want.''',
9316 },
9317 {
9318 '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.
9319 'type': 'main',
9320 'schema': { 'type': 'boolean' },
9321 'supported_on': ['chrome_os:56-'],
9322 'features': {
9323 'dynamic_refresh': True,
9324 'per_profile': False,
9325 },
9326 'example_value': False,
9327 'id': 356,
9328 'caption': '''Enables users to set weak PINs for the lock screen PIN.''',
9329 'tags': [],
9330 '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.
9331
9332 If this setting is configured to be false, or not configured, users can en ter these PINs and will only get a warning display.''',
9333 },
9277 ], 9334 ],
9278 'messages': { 9335 'messages': {
9279 # Messages that are not associated to any policies. 9336 # Messages that are not associated to any policies.
9280 'win_supported_winxpsp2': { 9337 'win_supported_winxpsp2': {
9281 '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:'.''', 9338 '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:'.''',
9282 'text': '''Microsoft Windows XP SP2 or later''' 9339 'text': '''Microsoft Windows XP SP2 or later'''
9283 }, 9340 },
9284 'mac_chrome_preferences': { 9341 'mac_chrome_preferences': {
9285 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9342 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9286 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9343 '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
9400 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9457 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9401 'text': 'Default Settings (users can override)', 9458 'text': 'Default Settings (users can override)',
9402 }, 9459 },
9403 'doc_complex_policies_on_windows': { 9460 'doc_complex_policies_on_windows': {
9404 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9461 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9405 '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>' '', 9462 '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>' '',
9406 }, 9463 },
9407 }, 9464 },
9408 'placeholders': [], 9465 'placeholders': [],
9409 } 9466 }
OLDNEW
« 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