Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index c919b4f73dcc51cab0e4b668dafc94e6b5f51c9d..84333b4cd97be880f50621902ba2f8a96e7e9c85 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -100,6 +100,9 @@ |
# documentation should state that the policy supports dynamic refresh or not. |
# Supporting dynamic refresh means that Chrome respects the changes to the |
# policy immediately, without the need for restart. |
+# 'can_be_mandatory' can be set to False to exclude that policy in the |
+# mandatory policies template. This only affects the template generation; |
+# The default is True. |
# 'can_be_recommended' can be set to True to include that policy in the |
# recommended policies templates. This only affects the template generation; |
# all policies can be at the recommended level. The default is False. |
@@ -2743,6 +2746,7 @@ |
'dynamic_refresh': False, |
'per_profile': True, |
'can_be_recommended': True, |
+ 'can_be_mandatory' : False, |
}, |
'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.com/mail/?extsrc=mailto&url=%s', 'default': 'true'}], |
'id': 268, |
@@ -6786,6 +6790,10 @@ |
'desc': '''The name of the feature that indicates for a given policy that it can be recommended, instead of mandatory''', |
'text': '''Can Be Recommended''' |
}, |
+ 'doc_feature_can_be_mandatory': { |
+ 'desc': '''The name of the feature that indicates for a given policy that it can be mandatory, instead of recommended''', |
+ 'text': '''Can Be Mandatory''' |
+ }, |
'doc_feature_per_profile': { |
'desc': '''The name of the feature that indicates whether a policy is applicable to browser Profiles individually or whether it affects the entire browser.''', |
'text': '''Per Profile''' |