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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2387253002: cros: Added policies for screen unlock. (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
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: 351 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 9029 matching lines...) Expand 10 before | Expand all | Expand 10 after
9182 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to 9182 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to
9183 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers. 9183 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers.
9184 9184
9185 Printer setup is completed upon the first use of a printer. PPDs are not 9185 Printer setup is completed upon the first use of a printer. PPDs are not
9186 downloaded until the printer is used. After that time, frequently used 9186 downloaded until the printer is used. After that time, frequently used
9187 PPDs are cached. 9187 PPDs are cached.
9188 9188
9189 This policy has no effect on whether users can configure printers on 9189 This policy has no effect on whether users can configure printers on
9190 individual devices. It is intended to be supplementary to the 9190 individual devices. It is intended to be supplementary to the
9191 configuration of printers by individual users.''', 9191 configuration of printers by individual users.''',
9192 } 9192 },
9193 {
9194 'name': 'QuickUnlockModeWhitelist',
9195 'type': 'list',
9196 'schema': {
9197 'type': 'array',
9198 'items': {
9199 'type': 'string',
9200 'enum': [
9201 'all',
9202 'PIN'
9203 ],
9204 },
9205 'id': 'QuickUnlockModeWhitelist',
9206 },
9207 'supported_on': ['chrome_os:56-'],
9208 'features': {
9209 'dynamic_refresh': True,
9210 'per_profile': True,
9211 },
9212 'example_value': ['PIN'],
9213 'id': 352,
9214 'caption': '''Configure allowed quick unlock modes.''',
9215 'tags': [],
9216 'desc': '''Controls which quick unlock modes are allowed to be set up and used.
9217 This setting white-lists the allowed quick unlock modes that can be set up and used to unlock the lock screen. The value is a list of strings, each of whi ch should be one of the following: "all", "PIN". If "all" is selected, then all supported quick modes will be available, otherwise the modes in the list will be the ones available.
9218
9219 If this setting is configured, quick unlock modes which have a type that i s not on this list can not be set up or used.
9220
9221 If this setting is left not configured, "PIN" mode will be enabled, and al l other modes will be disabled.''',
9222 },
9223 {
9224 'name': 'QuickUnlockTimeout',
9225 'type': 'int-enum',
9226 'schema': {
9227 'type': 'integer',
9228 'enum': [ 0, 1, 2, 3 ],
9229 },
9230 'items': [
9231 {
9232 'name': 'SixHours',
9233 'value': 0,
9234 'caption': '''Password entry is required every six hours.''',
9235 },
9236 {
9237 'name': 'TweleveHours',
9238 'value': 1,
9239 'caption': '''Password entry is required every twelve hours.''',
9240 },
9241 {
9242 'name': 'Day',
9243 'value': 2,
9244 'caption': '''Password entry is required every day (24 hours).''',
9245 },
9246 {
9247 'name': 'Week',
9248 'value': 3,
9249 'caption': '''Password entry is required every week (168 hours).''',
9250 },
9251 ],
9252 'supported_on': ['chrome_os:56-'],
9253 'features': {
9254 'dynamic_refresh': True,
9255 'per_profile': True,
9256 },
9257 'example_value': 2,
9258 'id': 353,
9259 'caption': '''Sets how often user has to enter password to use quick unloc k.''',
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.
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.
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.''',
9266 },
9193 ], 9267 ],
9194 'messages': { 9268 'messages': {
9195 # Messages that are not associated to any policies. 9269 # Messages that are not associated to any policies.
9196 'win_supported_winxpsp2': { 9270 'win_supported_winxpsp2': {
9197 '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:'.''', 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:'.''',
9198 'text': '''Microsoft Windows XP SP2 or later''' 9272 'text': '''Microsoft Windows XP SP2 or later'''
9199 }, 9273 },
9200 'mac_chrome_preferences': { 9274 'mac_chrome_preferences': {
9201 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9275 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9202 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9276 '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
9316 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9390 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9317 'text': 'Default Settings (users can override)', 9391 'text': 'Default Settings (users can override)',
9318 }, 9392 },
9319 'doc_complex_policies_on_windows': { 9393 'doc_complex_policies_on_windows': {
9320 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9394 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9321 '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>' '', 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>' '',
9322 }, 9396 },
9323 }, 9397 },
9324 'placeholders': [], 9398 'placeholders': [],
9325 } 9399 }
OLDNEW
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698