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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index f5caeea761f6bcf387cfae6da8205d768b9cf9fb..0fd374ddddfac1193041fce6ba79371c387d2719 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -135,6 +135,10 @@
# In that case no entry in the UserPolicy Protobuf is generated and
# it is assumed that it will be added to the DevicePolicy Protobuf manually.
#
+# Enterprise defaults:
+# An optional key 'default_for_enterprise_users' contains value that's set for
+# enterprise users as a default.
+#
'policy_definitions': [
{
'name': 'Homepage',
@@ -3143,6 +3147,7 @@
'per_profile': True,
},
'example_value': 'unrestricted',
+ 'default_for_enterprise_users': 'primary-only',
'id': 244,
'caption': '''Control the user behavior in a multiprofile session''',
'desc': '''Control the user behavior in a multiprofile session on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices.
@@ -6604,6 +6609,7 @@
'per_profile': True,
},
'example_value': True,
+ 'default_for_enterprise_users': False,
'id': 272,
'caption': '''Allows EasyUnlock to be used''',
'desc': '''Allows EasyUnlock to be used on <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> devices.
« 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