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

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

Issue 519643002: Default values for enterprise users are supported. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fixed. Created 6 years, 3 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
134 # that this policy is only supported as a device-level Cloud Policy. 134 # that this policy is only supported as a device-level Cloud Policy.
135 # In that case no entry in the UserPolicy Protobuf is generated and 135 # In that case no entry in the UserPolicy Protobuf is generated and
136 # it is assumed that it will be added to the DevicePolicy Protobuf manually. 136 # it is assumed that it will be added to the DevicePolicy Protobuf manually.
137 # 137 #
138 # Enterprise defaults:
139 # An optional key 'default_for_enterprise_users' contains value that's set for
140 # enterprise users as a default.
141 #
138 'policy_definitions': [ 142 'policy_definitions': [
139 { 143 {
140 'name': 'Homepage', 144 'name': 'Homepage',
141 'type': 'group', 145 'type': 'group',
142 'caption': '''Home page''', 146 'caption': '''Home page''',
143 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it. 147 'desc': '''Configure the default home page in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing it.
144 148
145 The user's home page settings are only completely locked down, if you eith er select the home page to be the new tab page, or set it to be a URL and specif y a home page URL. If you don't specify the home page URL, then the user is stil l able to set the home page to the new tab page by specifying 'chrome://newtab'. ''', 149 The user's home page settings are only completely locked down, if you eith er select the home page to be the new tab page, or set it to be a URL and specif y a home page URL. If you don't specify the home page URL, then the user is stil l able to set the home page to the new tab page by specifying 'chrome://newtab'. ''',
146 'policies': [ 150 'policies': [
147 { 151 {
(...skipping 2988 matching lines...) Expand 10 before | Expand all | Expand 10 after
3136 'value': 'not-allowed', 3140 'value': 'not-allowed',
3137 'caption': '''Do not allow enterprise user to be part of multiprofile (primary or secondary)''', 3141 'caption': '''Do not allow enterprise user to be part of multiprofile (primary or secondary)''',
3138 }, 3142 },
3139 ], 3143 ],
3140 'supported_on': ['chrome_os:31-'], 3144 'supported_on': ['chrome_os:31-'],
3141 'features': { 3145 'features': {
3142 'dynamic_refresh': True, 3146 'dynamic_refresh': True,
3143 'per_profile': True, 3147 'per_profile': True,
3144 }, 3148 },
3145 'example_value': 'unrestricted', 3149 'example_value': 'unrestricted',
3150 'default_for_enterprise_users': 'primary-only',
3146 'id': 244, 3151 'id': 244,
3147 'caption': '''Control the user behavior in a multiprofile session''', 3152 'caption': '''Control the user behavior in a multiprofile session''',
3148 'desc': '''Control the user behavior in a multiprofile session on <ph name ="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices. 3153 'desc': '''Control the user behavior in a multiprofile session on <ph name ="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices.
3149 3154
3150 If this policy is set to 'MultiProfileUserBehaviorUnrestricted', the user can be either primary or secondary user in a multiprofile session. 3155 If this policy is set to 'MultiProfileUserBehaviorUnrestricted', the user can be either primary or secondary user in a multiprofile session.
3151 3156
3152 If this policy is set to 'MultiProfileUserBehaviorMustBePrimary', the user can only be the primary user in a multiprofile session. 3157 If this policy is set to 'MultiProfileUserBehaviorMustBePrimary', the user can only be the primary user in a multiprofile session.
3153 3158
3154 If this policy is set to 'MultiProfileUserBehaviorNotAllowed', the user ca nnot be part of a multiprofile session. 3159 If this policy is set to 'MultiProfileUserBehaviorNotAllowed', the user ca nnot be part of a multiprofile session.
3155 3160
(...skipping 3441 matching lines...) Expand 10 before | Expand all | Expand 10 after
6597 { 6602 {
6598 'name': 'EasyUnlockAllowed', 6603 'name': 'EasyUnlockAllowed',
6599 'type': 'main', 6604 'type': 'main',
6600 'schema': { 'type': 'boolean' }, 6605 'schema': { 'type': 'boolean' },
6601 'supported_on': ['chrome_os:38-'], 6606 'supported_on': ['chrome_os:38-'],
6602 'features': { 6607 'features': {
6603 'dynamic_refresh': True, 6608 'dynamic_refresh': True,
6604 'per_profile': True, 6609 'per_profile': True,
6605 }, 6610 },
6606 'example_value': True, 6611 'example_value': True,
6612 'default_for_enterprise_users': False,
6607 'id': 272, 6613 'id': 272,
6608 'caption': '''Allows EasyUnlock to be used''', 6614 'caption': '''Allows EasyUnlock to be used''',
6609 'desc': '''Allows EasyUnlock to be used on <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> devices. 6615 'desc': '''Allows EasyUnlock to be used on <ph name="PRODUCT_OS_NAME">$2<e x>Google Chrome OS</ex></ph> devices.
6610 6616
6611 If you enable this setting, users will be allowed to use EasyUnlock if the requirements for the feature are satified. 6617 If you enable this setting, users will be allowed to use EasyUnlock if the requirements for the feature are satified.
6612 6618
6613 If you disable this setting, users will not be allowed to use EasyUnlock. 6619 If you disable this setting, users will not be allowed to use EasyUnlock.
6614 6620
6615 If this policy is left not set, the default is not allowed for enterprise- managed users and allowed for non-managed users.''', 6621 If this policy is left not set, the default is not allowed for enterprise- managed users and allowed for non-managed users.''',
6616 }, 6622 },
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
6776 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6782 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6777 'text': 'Default Settings (users can override)', 6783 'text': 'Default Settings (users can override)',
6778 }, 6784 },
6779 'doc_complex_policies_on_windows': { 6785 'doc_complex_policies_on_windows': {
6780 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 6786 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
6781 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , 6787 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' ,
6782 }, 6788 },
6783 }, 6789 },
6784 'placeholders': [], 6790 'placeholders': [],
6785 } 6791 }
OLDNEW
« no previous file with comments | « components/policy/core/common/generate_policy_source_unittest.cc ('k') | components/policy/tools/generate_policy_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698