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

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

Issue 1836433003: ChromeOS: Add SystemTimezoneAutomaticDetection policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 5719 matching lines...) Expand 10 before | Expand all | Expand 10 after
5730 'example_value': 'America/Los_Angeles', 5730 'example_value': 'America/Los_Angeles',
5731 'id': 158, 5731 'id': 158,
5732 'caption': '''Timezone''', 5732 'caption': '''Timezone''',
5733 'tags': [], 5733 'tags': [],
5734 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead. If an empty string is provided, the polic y is ignored. 5734 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead. If an empty string is provided, the polic y is ignored.
5735 5735
5736 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users. 5736 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users.
5737 5737
5738 New devices start out with the timezone set to "US/Pacific". 5738 New devices start out with the timezone set to "US/Pacific".
5739 5739
5740 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "https://en.wikipedia.org/wiki/Tz_database"). In particular, most timezones can be referred to by "continent/large_city" or "ocean/large_city ".''', 5740 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "https://en.wikipedia.org/wiki/Tz_database"). In particular, most timezones can be referred to by "continent/large_city" or "ocean/large_city ".
5741
5742 Setting this policy completely disables automatic timezone resolve by devi ce location. It also overrides SystemTimezoneAutomaticDetection policy.''',
5741 }, 5743 },
5742 { 5744 {
5743 'name': 'SystemUse24HourClock', 5745 'name': 'SystemUse24HourClock',
5744 'type': 'main', 5746 'type': 'main',
5745 'schema': { 'type': 'boolean' }, 5747 'schema': { 'type': 'boolean' },
5746 'supported_on': ['chrome_os:30-'], 5748 'supported_on': ['chrome_os:30-'],
5747 'device_only': True, 5749 'device_only': True,
5748 'features': { 5750 'features': {
5749 'dynamic_refresh': True, 5751 'dynamic_refresh': True,
5750 }, 5752 },
(...skipping 2601 matching lines...) Expand 10 before | Expand all | Expand 10 after
8352 'example_value': True, 8354 'example_value': True,
8353 'id': 323, 8355 'id': 323,
8354 'caption': '''Allow bluetooth on device''', 8356 'caption': '''Allow bluetooth on device''',
8355 'tags': [], 8357 'tags': [],
8356 'desc': '''If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> will disable Bluetooth and the user cannot enable i t back. 8358 'desc': '''If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> will disable Bluetooth and the user cannot enable i t back.
8357 8359
8358 If this policy is set to true or left unset, the user will be able to enab le or disable Bluetooth as he wishes. 8360 If this policy is set to true or left unset, the user will be able to enab le or disable Bluetooth as he wishes.
8359 8361
8360 If this policy is set, the user cannot change or override it.''', 8362 If this policy is set, the user cannot change or override it.''',
8361 }, 8363 },
8364 {
8365 'name': 'SystemTimezoneAutomaticDetection',
8366 'type': 'int-enum',
8367 'schema': {
8368 'type': 'integer',
8369 'enum': [ 0, 1, 2, 3 ],
8370 },
8371 'items': [
8372 {
8373 'name': 'AUTOMATIC_TIMEZONE_DETECTION_USERS_DECIDE',
8374 'value': 0,
8375 'caption': '''Let users decide.''',
8376 },
8377 {
8378 'name': 'AUTOMATIC_TIMEZONE_DETECTION_DISABLED',
8379 'value': 1,
8380 'caption': '''Never auto-detect timezone.''',
8381 },
8382 {
8383 'name': 'AUTOMATIC_TIMEZONE_DETECTION_IP_ONLY',
8384 'value': 2,
8385 'caption': '''Always use coarse timezone detection.''',
8386 },
8387 {
8388 'name': 'AUTOMATIC_TIMEZONE_DETECTION_SEND_WIFI_ACCESS_POINTS',
8389 'value': 3,
8390 'caption': '''Always send WiFi acess-points to server.use fine-grained timezone detection (send curently visible WiFi access points to Geolocation API to better locate geographical position).''',
8391 },
8392 ],
8393 'supported_on': ['chrome_os:51-'],
8394 'device_only': True,
8395 'features': {
8396 'dynamic_refresh': True,
8397 },
8398 'example_value': 0,
8399 'id': 324,
8400 'caption': '''Configure the automatic timezone detection method''',
8401 'tags': [],
8402 'desc': '''When this policy is set, automatic timezone detection flow will be in one of the following ways depending on the value of the setting:
8403
8404 If set to AUTOMATIC_TIMEZONE_DETECTION_USERS_DECIDE, users would be able t o control automatic timezone detection using normal controls in chrome://setting s.
8405
8406 If set to AUTOMATIC_TIMEZONE_DETECTION_DISABLED, automatic timezone contro ls in chrome://settings will be disabled. Automatic timezone detection will be a lways off. Timezone could be controlled either by SystemTimezone policy or by ti mezone selector in chrome://settings.
8407
8408 If set to AUTOMATIC_TIMEZONE_DETECTION_IP_ONLY, timezone controls in chrom e://settings will be disabled. Automatic timezone detection will be always on. T imezone detection will use IP-only method to resolve location.
8409
8410 If set to AUTOMATIC_TIMEZONE_DETECTION_SEND_WIFI_ACCESS_POINTS, timezone c ontrols in chrome://settings will be disabled. Automatic timezone detection will be always on. The list of visible WiFi access-points will be always sent to Geo location API server for fine-grained timezone detection.
8411
8412 If this policy is not set, it will behave as if AUTOMATIC_TIMEZONE_DETECTI ON_USERS_DECIDE is set.
8413
8414 If SystemTimezone policy is set. it overrides this policy. In this case au tomatic timezone detection is completely disabled.''',
8415 },
8362 ], 8416 ],
8363 'messages': { 8417 'messages': {
8364 # Messages that are not associated to any policies. 8418 # Messages that are not associated to any policies.
8365 'win_supported_winxpsp2': { 8419 'win_supported_winxpsp2': {
8366 '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:'.''', 8420 '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:'.''',
8367 'text': '''Microsoft Windows XP SP2 or later''' 8421 'text': '''Microsoft Windows XP SP2 or later'''
8368 }, 8422 },
8369 'mac_chrome_preferences': { 8423 'mac_chrome_preferences': {
8370 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 8424 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
8371 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 8425 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
8481 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8535 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8482 'text': 'Default Settings (users can override)', 8536 'text': 'Default Settings (users can override)',
8483 }, 8537 },
8484 'doc_complex_policies_on_windows': { 8538 'doc_complex_policies_on_windows': {
8485 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8539 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8486 '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>' '', 8540 '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>' '',
8487 }, 8541 },
8488 }, 8542 },
8489 'placeholders': [], 8543 'placeholders': [],
8490 } 8544 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698