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

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

Issue 426063005: Allow recommended locales to be set for public sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 # templates and documentation. The policy definition list that Chrome sees 113 # templates and documentation. The policy definition list that Chrome sees
114 # will include policies marked with 'future'. If a WIP policy isn't meant to 114 # will include policies marked with 'future'. If a WIP policy isn't meant to
115 # be seen by the policy providers either, the 'supported_on' key should be set 115 # be seen by the policy providers either, the 'supported_on' key should be set
116 # to an empty list. 116 # to an empty list.
117 # 117 #
118 # IDs: 118 # IDs:
119 # Since a Protocol Buffer definition is generated from this file, unique and 119 # Since a Protocol Buffer definition is generated from this file, unique and
120 # persistent IDs for all fields (but not for groups!) are needed. These are 120 # persistent IDs for all fields (but not for groups!) are needed. These are
121 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 121 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
122 # because doing so would break the deployed wire format! 122 # because doing so would break the deployed wire format!
123 # For your editing convenience: highest ID currently used: 270 123 # For your editing convenience: highest ID currently used: 271
124 # 124 #
125 # Placeholders: 125 # Placeholders:
126 # The following placeholder strings are automatically substituted: 126 # The following placeholder strings are automatically substituted:
127 # $1 -> Google Chrome / Chromium 127 # $1 -> Google Chrome / Chromium
128 # $2 -> Google Chrome OS / Chromium OS 128 # $2 -> Google Chrome OS / Chromium OS
129 # $3 -> Google Chrome Frame / Chromium Frame 129 # $3 -> Google Chrome Frame / Chromium Frame
130 # $6 is reserved for doc_writer 130 # $6 is reserved for doc_writer
131 # 131 #
132 # Device Policy: 132 # Device Policy:
133 # An additional flag device_only (optional, defaults to False) indicates 133 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 6387 matching lines...) Expand 10 before | Expand all | Expand 10 after
6521 'caption': '''Enable deprecated web platform features for a limited time'' ', 6521 'caption': '''Enable deprecated web platform features for a limited time'' ',
6522 'desc': '''Specify a list of deprecated web platform features to re-enable temporarily. 6522 'desc': '''Specify a list of deprecated web platform features to re-enable temporarily.
6523 6523
6524 This policy gives administrators the ability to re-enable deprecated web p latform features for a limited time. Features are identified by a string tag and the features corresponding to the tags included in the list specified by this p olicy will get re-enabled. 6524 This policy gives administrators the ability to re-enable deprecated web p latform features for a limited time. Features are identified by a string tag and the features corresponding to the tags included in the list specified by this p olicy will get re-enabled.
6525 6525
6526 If this policy is left not set, or the list is empty or does not match one of the supported string tags, all deprecated web platform features will remain disabled. 6526 If this policy is left not set, or the list is empty or does not match one of the supported string tags, all deprecated web platform features will remain disabled.
6527 6527
6528 While the policy itself is supported on the above platforms, the feature i t is enabling may be available on fewer platforms. Not all deprecated Web Platfo rm features can be re-enabled. Only the ones explicitly listed below can be for a limited period of time, which is different per feature. The general format of the string tag will be [DeprecatedFeatureName]_EffectiveUntil[yyyymmdd]. As refe rence, you can find the intent behind the Web Platform feature changes at http:/ /bit.ly/blinkintents. 6528 While the policy itself is supported on the above platforms, the feature i t is enabling may be available on fewer platforms. Not all deprecated Web Platfo rm features can be re-enabled. Only the ones explicitly listed below can be for a limited period of time, which is different per feature. The general format of the string tag will be [DeprecatedFeatureName]_EffectiveUntil[yyyymmdd]. As refe rence, you can find the intent behind the Web Platform feature changes at http:/ /bit.ly/blinkintents.
6529 ''', 6529 ''',
6530 }, 6530 },
6531 {
6532 'name': 'SessionLocales',
6533 'type': 'list',
6534 'schema': {
6535 'type': 'array',
6536 'items': { 'type': 'string' },
6537 },
6538 'supported_on': ['chrome_os:38-'],
6539 'features': {
6540 'can_be_recommended': True,
6541 'dynamic_refresh': True,
6542 'per_profile': True,
6543 },
6544 'example_value': ['de', 'fr'],
6545 'id': 271,
6546 'caption': '''Set the recommended locales for a public session''',
6547 'desc': '''Sets one or more recommended locales for a public sessions, all owing users to easily choose one of these locales.
6548
6549 The user can choose a locale and a keyboard layout before starting a publi c session. By default, all locales supported by <ph name="PRODUCT_OS_NAME">$2<ex >Google Chrome OS</ex></ph> are listed in alphabetic order. You can use this pol icy to move a set of recommended locales to the top.
6550
6551 If this policy is set, the recommended locales will be moved to the top of the list and will be visually separated from all other locales. The first recom mended locale will be pre-selected.
6552
6553 If this policy is not set, the current UI locale will be pre-selected.
pneubeck (no reviews) 2014/07/30 15:23:19 Maybe more clearly partition this description into
bartfab (slow) 2014/08/05 17:16:24 Done.
6554
6555 The pre-selected keyboard layout will be the most popular layout matching the selected locale.
6556
6557 If there is more than one recommended locale, it is assumed that users wil l want to select among these locales. Locale and keyboard layout selection is pr ominently offered when starting a public session.
pneubeck (no reviews) 2014/07/30 15:23:19 In which order are the recommended locales shown?
bartfab (slow) 2014/08/05 17:16:24 Clarified.
6558
6559 If there is no or only one recommended locale, it is assumed that most use rs will want to use the pre-selected locale. Locale and keyboard layout selectio n is less prominently offered when starting a public session.
pneubeck (no reviews) 2014/07/30 15:23:19 'no or' implies that setting an empty list of reco
bartfab (slow) 2014/08/05 17:16:24 Recommending an empty list works but makes little
6560
6561 When this policy is set and automatic login is enabled (see the |DeviceLoc alAccountAutoLoginId| and |DeviceLocalAccountAutoLoginDelay| policies), the auto matically started public session will use the first recommended locale and the m ost popular keyboard layout matching this locale.
pneubeck (no reviews) 2014/07/30 15:23:19 The second half of the last sentence is redundant
bartfab (slow) 2014/08/05 17:16:24 No, it's not redundant. Line 6555 explains what ke
6562
6563 This policy can only be set as recommended. You can use this policy to mov e a set of recommended locales to the top but users are always allowed to choose any locale supported by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex>< /ph> for their session.
pneubeck (no reviews) 2014/07/30 15:23:19 Hm. So we don't have a 'features' flag to declare
bartfab (slow) 2014/08/05 17:16:24 Correct, there is no such flag. It is not needed f
6564 ''',
6565 },
6566
6531 ], 6567 ],
6532 'messages': { 6568 'messages': {
6533 # Messages that are not associated to any policies. 6569 # Messages that are not associated to any policies.
6534 'win_supported_winxpsp2': { 6570 'win_supported_winxpsp2': {
6535 '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:'.''', 6571 '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:'.''',
6536 'text': '''Microsoft Windows XP SP2 or later''' 6572 'text': '''Microsoft Windows XP SP2 or later'''
6537 }, 6573 },
6538 'mac_chrome_preferences': { 6574 'mac_chrome_preferences': {
6539 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 6575 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
6540 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 6576 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
6637 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6673 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6638 'text': 'deprecated', 6674 'text': 'deprecated',
6639 }, 6675 },
6640 'doc_recommended': { 6676 'doc_recommended': {
6641 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6677 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6642 'text': 'Default Settings (users can override)', 6678 'text': 'Default Settings (users can override)',
6643 }, 6679 },
6644 }, 6680 },
6645 'placeholders': [], 6681 'placeholders': [],
6646 } 6682 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698