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

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: 349 142 # For your editing convenience: highest ID currently used: 353
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 8991 matching lines...) Expand 10 before | Expand all | Expand 10 after
9144 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to 9144 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to
9145 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers. 9145 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers.
9146 9146
9147 Printer setup is completed upon the first use of a printer. PPDs are not 9147 Printer setup is completed upon the first use of a printer. PPDs are not
9148 downloaded until the printer is used. After that time, frequently used 9148 downloaded until the printer is used. After that time, frequently used
9149 PPDs are cached. 9149 PPDs are cached.
9150 9150
9151 This policy has no effect on whether users can configure printers on 9151 This policy has no effect on whether users can configure printers on
9152 individual devices. It is intended to be supplementary to the 9152 individual devices. It is intended to be supplementary to the
9153 configuration of printers by individual users.''', 9153 configuration of printers by individual users.''',
9154 } 9154 },
9155 {
9156 'name': 'PinUnlockMinimumLength',
9157 'type': 'int',
9158 'schema': { 'type': 'integer' },
9159 'supported_on': ['chrome_os:56-'],
9160 'features': {
9161 'dynamic_refresh': True,
9162 'per_profile': False,
9163 },
9164 'example_value': 4,
9165 'id': 351,
9166 'caption': '''Sets the minimum length of the lock screen PIN.''',
9167 'tags': [],
9168 'desc': '''PINs created for the lock screen must have a length equal or gr eater than this value.''',
9169 },
9170 {
9171 'name': 'PinUnlockMaximumLength',
9172 'type': 'int',
9173 'schema': { 'type': 'integer' },
9174 'supported_on': ['chrome_os:56-'],
9175 'features': {
9176 'dynamic_refresh': True,
9177 'per_profile': False,
9178 },
9179 'example_value': 0,
9180 'id': 352,
9181 'caption': '''Sets the maximum length of the lock screen PIN.''',
9182 'tags': [],
9183 'desc': '''PINs created for the lock screen must have a length equal or le ss than this value. If this value is 0, there is no maximum length. If this valu e is not 0, but shorter than PinUnlockMinimumLength, this value will be the same as PinUnlockMinimumLength.''',
9184 },
9185 {
9186 'name': 'PinUnlockAllowWeakPins',
9187 'type': 'main',
9188 'schema': { 'type': 'boolean' },
9189 'supported_on': ['chrome_os:56-'],
9190 'features': {
9191 'dynamic_refresh': True,
9192 'per_profile': False,
9193 },
9194 'example_value': False,
9195 'id': 353,
9196 'caption': '''Enables users to set weak PINs for the lock screen PIN.''',
9197 'tags': [],
9198 '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.''',
9199 },
9155 ], 9200 ],
9156 'messages': { 9201 'messages': {
9157 # Messages that are not associated to any policies. 9202 # Messages that are not associated to any policies.
9158 'win_supported_winxpsp2': { 9203 'win_supported_winxpsp2': {
9159 '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:'.''', 9204 '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:'.''',
9160 'text': '''Microsoft Windows XP SP2 or later''' 9205 'text': '''Microsoft Windows XP SP2 or later'''
9161 }, 9206 },
9162 'mac_chrome_preferences': { 9207 'mac_chrome_preferences': {
9163 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9208 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9164 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9209 '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
9278 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9323 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9279 'text': 'Default Settings (users can override)', 9324 'text': 'Default Settings (users can override)',
9280 }, 9325 },
9281 'doc_complex_policies_on_windows': { 9326 'doc_complex_policies_on_windows': {
9282 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9327 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9283 '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>' '', 9328 '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>' '',
9284 }, 9329 },
9285 }, 9330 },
9286 'placeholders': [], 9331 'placeholders': [],
9287 } 9332 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698