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

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

Issue 385073008: Browser-based guest policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 5 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 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 6386 matching lines...) Expand 10 before | Expand all | Expand 10 after
6520 'caption': '''Enable deprecated web platform features for a limited time'' ', 6520 'caption': '''Enable deprecated web platform features for a limited time'' ',
6521 'desc': '''Specify a list of deprecated web platform features to re-enable temporarily. 6521 'desc': '''Specify a list of deprecated web platform features to re-enable temporarily.
6522 6522
6523 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. 6523 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 6524
6525 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. 6525 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 6526
6527 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. 6527 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 ''', 6528 ''',
6529 }, 6529 },
6530 {
6531 'name': 'BrowserGuestModeEnabled',
6532 'type': 'main',
6533 'schema': { 'type': 'boolean' },
6534 'supported_on': ['chrome.*:39-'],
6535 'features': {
6536 'dynamic_refresh': True,
6537 'per_profile': False,
6538 },
6539 'example_value': True,
6540 'id': 271,
6541 'caption': '''Enable guest mode in browser''',
6542 'desc': '''If this policy is set to true or not configured, <ph name="PROD UCT_NAME">$1<ex>Google Chrome</ex></ph> will enable guest logins. Guest logins a re <ph name="PRODUCT_OS_NAME">$1<ex>Google Chrome</ex></ph> profiles where all w indows are in incognito mode.
Joao da Silva 2014/07/15 14:39:09 One more PRODUCT_OS_NAME -> PRODUCT_NAME
Mike Lerman 2014/07/17 15:21:52 Done.
6543
6544 If this policy is set to false, <ph name="PRODUCT_NAME">$1<ex>Google Chrom e</ex></ph> will not allow guest profiles to be started.''',
6545 },
6530 ], 6546 ],
6531 'messages': { 6547 'messages': {
6532 # Messages that are not associated to any policies. 6548 # Messages that are not associated to any policies.
6533 'win_supported_winxpsp2': { 6549 'win_supported_winxpsp2': {
6534 '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:'.''', 6550 '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:'.''',
6535 'text': '''Microsoft Windows XP SP2 or later''' 6551 'text': '''Microsoft Windows XP SP2 or later'''
6536 }, 6552 },
6537 'mac_chrome_preferences': { 6553 'mac_chrome_preferences': {
6538 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 6554 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
6539 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 6555 '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
6636 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6652 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6637 'text': 'deprecated', 6653 'text': 'deprecated',
6638 }, 6654 },
6639 'doc_recommended': { 6655 'doc_recommended': {
6640 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6656 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6641 'text': 'Default Settings (users can override)', 6657 'text': 'Default Settings (users can override)',
6642 }, 6658 },
6643 }, 6659 },
6644 'placeholders': [], 6660 'placeholders': [],
6645 } 6661 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698