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

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: Test added. 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 3615 matching lines...) Expand 10 before | Expand all | Expand 10 after
6771 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6776 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6772 'text': 'deprecated', 6777 'text': 'deprecated',
6773 }, 6778 },
6774 'doc_recommended': { 6779 'doc_recommended': {
6775 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6780 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6776 'text': 'Default Settings (users can override)', 6781 'text': 'Default Settings (users can override)',
6777 }, 6782 },
6778 }, 6783 },
6779 'placeholders': [], 6784 'placeholders': [],
6780 } 6785 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698