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

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

Issue 2652793003: Add login screen locale and input method device policies (Closed)
Patch Set: Rebase. Created 3 years, 10 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 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: 363 142 # For your editing convenience: highest ID currently used: 365
143 # And don't forget to also update the EnterprisePolicies enum of 143 # And don't forget to also update the EnterprisePolicies enum of
144 # histograms.xml. 144 # histograms.xml.
145 # 145 #
146 # Placeholders: 146 # Placeholders:
147 # The following placeholder strings are automatically substituted: 147 # The following placeholder strings are automatically substituted:
148 # $1 -> Google Chrome / Chromium 148 # $1 -> Google Chrome / Chromium
149 # $2 -> Google Chrome OS / Chromium OS 149 # $2 -> Google Chrome OS / Chromium OS
150 # $3 -> Google Chrome Frame / Chromium Frame 150 # $3 -> Google Chrome Frame / Chromium Frame
151 # $6 is reserved for doc_writer 151 # $6 is reserved for doc_writer
152 # 152 #
(...skipping 9385 matching lines...) Expand 10 before | Expand all | Expand 10 after
9538 The policy should be speicified as a string that expresses the URL and has h in JSON format, e.g., 9538 The policy should be speicified as a string that expresses the URL and has h in JSON format, e.g.,
9539 { 9539 {
9540 "url": "https://example.com/device_wallpaper.jpg", 9540 "url": "https://example.com/device_wallpaper.jpg",
9541 "hash": "examplewallpaperhash" 9541 "hash": "examplewallpaperhash"
9542 } 9542 }
9543 9543
9544 If the device wallpaper policy is set, the Chrome OS device will download and use the wallpaper image on the login screen if no user has yet signed in to the device. Once the user logs in, the user's wallpaper policy kicks in. 9544 If the device wallpaper policy is set, the Chrome OS device will download and use the wallpaper image on the login screen if no user has yet signed in to the device. Once the user logs in, the user's wallpaper policy kicks in.
9545 9545
9546 If the device wallpaper policy is left not set, it's the user's wallpaper policy to decide what to show if the user's wallpaper policy is set.''', 9546 If the device wallpaper policy is left not set, it's the user's wallpaper policy to decide what to show if the user's wallpaper policy is set.''',
9547 }, 9547 },
9548 {
9549 'name': 'DeviceLoginScreenLocales',
9550 'type': 'list',
9551 'schema': {
9552 'type': 'array',
9553 'items': { 'type': 'string' },
9554 },
9555 'supported_on': ['chrome_os:58-'],
9556 'device_only': True,
9557 'features': {
9558 'dynamic_refresh': False,
9559 },
9560 'example_value': [ "en-US" ],
9561 'max_size': 16777216,
9562 'id': 364,
9563 'caption': '''Device sign-in screen locale''',
9564 'tags': [],
9565 'desc': '''Configures the locale which is enforced on the <ph name="PRODUC T_OS_NAME">$2<ex>Google Chrome OS</ex></ph> sign-in screen.
9566
9567 If this policy is set, the sign-in screen will always be displayed in the locale which is given by the first value of this policy (the policy is defined a s a list for forward compatibility). If this policy is not set or is set to an empty list, the sign-in screen will be displayed in the locale of the last user session. If this policy is set to a value which is not a valid locale, the sign -in screen will be displayed in a fallback locale (currently, en-US).'''
9568 },
9569 {
9570 'name': 'DeviceLoginScreenInputMethods',
9571 'type': 'list',
9572 'schema': {
9573 'type': 'array',
9574 'items': { 'type': 'string' },
9575 },
9576 'supported_on': ['chrome_os:58-'],
9577 'device_only': True,
9578 'features': {
9579 'dynamic_refresh': True,
9580 },
9581 'example_value': [ "xkb:us::en", "xkb:ch::ger" ],
9582 'max_size': 16777216,
9583 'id': 365,
9584 'caption': '''Device sign-in screen keyboard layouts''',
9585 'tags': [],
9586 'desc': '''Configures which keyboard layouts are allowed on the <ph name=" PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> sign-in screen.
9587
9588 If this policy is set to a list of input method identifiers, the given inp ut methods will be available on the sign-in screen. The first given input method will be preselected. While a user pod is focused on the sign-in screen, the use r's least recently used input method will be available in addition to the input methods given by this policy. If this policy is not set, the input methods on t he sign-in screen will be derived from the locale in which the sign-in screen is displayed. Values which are not valid input method identifiers will be ignored .''',
9589 },
9548 ], 9590 ],
9549 'messages': { 9591 'messages': {
9550 # Messages that are not associated to any policies. 9592 # Messages that are not associated to any policies.
9551 'win_supported_winxpsp2': { 9593 'win_supported_winxpsp2': {
9552 '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:'.''', 9594 '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:'.''',
9553 'text': '''Microsoft Windows XP SP2 or later''' 9595 'text': '''Microsoft Windows XP SP2 or later'''
9554 }, 9596 },
9555 'mac_chrome_preferences': { 9597 'mac_chrome_preferences': {
9556 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9598 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9557 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9599 '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
9671 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9713 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9672 'text': 'Default Settings (users can override)', 9714 'text': 'Default Settings (users can override)',
9673 }, 9715 },
9674 'doc_complex_policies_on_windows': { 9716 'doc_complex_policies_on_windows': {
9675 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9717 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9676 '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>' '', 9718 '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>' '',
9677 }, 9719 },
9678 }, 9720 },
9679 'placeholders': [], 9721 'placeholders': [],
9680 } 9722 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698