OLD | NEW |
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 # chrome.* -> Chrome policy definition list | 93 # chrome.* -> Chrome policy definition list |
94 # chrome_os -> Chrome policy definition list, when building OS_CHROMEOS | 94 # chrome_os -> Chrome policy definition list, when building OS_CHROMEOS |
95 # | 95 # |
96 # Annotations: | 96 # Annotations: |
97 # Additional information is specified under keys 'features' and | 97 # Additional information is specified under keys 'features' and |
98 # 'example_value'. These are used in the generated documentation and example | 98 # 'example_value'. These are used in the generated documentation and example |
99 # policy configuration files. 'dynamic_refresh' controls if the generated | 99 # policy configuration files. 'dynamic_refresh' controls if the generated |
100 # documentation should state that the policy supports dynamic refresh or not. | 100 # documentation should state that the policy supports dynamic refresh or not. |
101 # Supporting dynamic refresh means that Chrome respects the changes to the | 101 # Supporting dynamic refresh means that Chrome respects the changes to the |
102 # policy immediately, without the need for restart. | 102 # policy immediately, without the need for restart. |
| 103 # 'can_be_mandatory' can be set to False to exclude that policy in the |
| 104 # mandatory policies template. This only affects the template generation; |
| 105 # The default is True. |
103 # 'can_be_recommended' can be set to True to include that policy in the | 106 # 'can_be_recommended' can be set to True to include that policy in the |
104 # recommended policies templates. This only affects the template generation; | 107 # recommended policies templates. This only affects the template generation; |
105 # all policies can be at the recommended level. The default is False. | 108 # all policies can be at the recommended level. The default is False. |
106 # | 109 # |
107 # The 'max_size' key is used to specify the maximal size of the external data | 110 # The 'max_size' key is used to specify the maximal size of the external data |
108 # that a policy can reference, in bytes. This annotation is compulsory for | 111 # that a policy can reference, in bytes. This annotation is compulsory for |
109 # policies of type 'external'. It is ignored for all other policy types. | 112 # policies of type 'external'. It is ignored for all other policy types. |
110 # | 113 # |
111 # The 'future' key is used to indicate that a policy isn't yet ready for | 114 # The 'future' key is used to indicate that a policy isn't yet ready for |
112 # usage. It defaults to False, and currently affects the generated policy | 115 # usage. It defaults to False, and currently affects the generated policy |
(...skipping 2623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2736 } | 2739 } |
2737 }, | 2740 }, |
2738 'required': ['protocol', 'url'] | 2741 'required': ['protocol', 'url'] |
2739 } | 2742 } |
2740 }, | 2743 }, |
2741 'supported_on': ['chrome.*:37-', 'chrome_os:37-'], | 2744 'supported_on': ['chrome.*:37-', 'chrome_os:37-'], |
2742 'features': { | 2745 'features': { |
2743 'dynamic_refresh': False, | 2746 'dynamic_refresh': False, |
2744 'per_profile': True, | 2747 'per_profile': True, |
2745 'can_be_recommended': True, | 2748 'can_be_recommended': True, |
| 2749 'can_be_mandatory' : False, |
2746 }, | 2750 }, |
2747 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c
om/mail/?extsrc=mailto&url=%s', 'default': 'true'}], | 2751 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c
om/mail/?extsrc=mailto&url=%s', 'default': 'true'}], |
2748 'id': 268, | 2752 'id': 268, |
2749 'caption': '''Register protocol handlers''', | 2753 'caption': '''Register protocol handlers''', |
2750 'desc': '''Allows you to register a list of protocol handlers. This ca
n only be a recommended policy. The property |protocol| should be set to the sch
eme such as 'mailto' and the property |url| should be set to the URL pattern of
the application that handles the scheme. The pattern can include a '%s', which i
f present will be replaced by the handled URL. | 2754 'desc': '''Allows you to register a list of protocol handlers. This ca
n only be a recommended policy. The property |protocol| should be set to the sch
eme such as 'mailto' and the property |url| should be set to the URL pattern of
the application that handles the scheme. The pattern can include a '%s', which i
f present will be replaced by the handled URL. |
2751 | 2755 |
2752 The protocol handlers registered by policy are merged with the ones re
gistered by the user and both are available for use. The user can override the p
rotocol handlers installed by policy by installing a new default handler, but ca
nnot remove a protocol handler registered by policy.''', | 2756 The protocol handlers registered by policy are merged with the ones re
gistered by the user and both are available for use. The user can override the p
rotocol handlers installed by policy by installing a new default handler, but ca
nnot remove a protocol handler registered by policy.''', |
2753 }, | 2757 }, |
2754 { | 2758 { |
2755 'name': 'PopupsBlockedForUrls', | 2759 'name': 'PopupsBlockedForUrls', |
(...skipping 4023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6779 'text': '''Description''' | 6783 'text': '''Description''' |
6780 }, | 6784 }, |
6781 'doc_feature_dynamic_refresh': { | 6785 'doc_feature_dynamic_refresh': { |
6782 'desc': '''The name of the feature that indicates for a given policy that
changes to it are respected by Chromium without a browser restart''', | 6786 'desc': '''The name of the feature that indicates for a given policy that
changes to it are respected by Chromium without a browser restart''', |
6783 'text': '''Dynamic Policy Refresh''' | 6787 'text': '''Dynamic Policy Refresh''' |
6784 }, | 6788 }, |
6785 'doc_feature_can_be_recommended': { | 6789 'doc_feature_can_be_recommended': { |
6786 'desc': '''The name of the feature that indicates for a given policy that
it can be recommended, instead of mandatory''', | 6790 'desc': '''The name of the feature that indicates for a given policy that
it can be recommended, instead of mandatory''', |
6787 'text': '''Can Be Recommended''' | 6791 'text': '''Can Be Recommended''' |
6788 }, | 6792 }, |
| 6793 'doc_feature_can_be_mandatory': { |
| 6794 'desc': '''The name of the feature that indicates for a given policy that
it can be mandatory, instead of recommended''', |
| 6795 'text': '''Can Be Mandatory''' |
| 6796 }, |
6789 'doc_feature_per_profile': { | 6797 'doc_feature_per_profile': { |
6790 'desc': '''The name of the feature that indicates whether a policy is appl
icable to browser Profiles individually or whether it affects the entire browser
.''', | 6798 'desc': '''The name of the feature that indicates whether a policy is appl
icable to browser Profiles individually or whether it affects the entire browser
.''', |
6791 'text': '''Per Profile''' | 6799 'text': '''Per Profile''' |
6792 }, | 6800 }, |
6793 'doc_deprecated': { | 6801 'doc_deprecated': { |
6794 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 6802 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
6795 'text': 'deprecated', | 6803 'text': 'deprecated', |
6796 }, | 6804 }, |
6797 'doc_recommended': { | 6805 'doc_recommended': { |
6798 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 6806 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
6799 'text': 'Default Settings (users can override)', | 6807 'text': 'Default Settings (users can override)', |
6800 }, | 6808 }, |
6801 'doc_complex_policies_on_windows': { | 6809 'doc_complex_policies_on_windows': { |
6802 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 6810 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
6803 '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>'''
, | 6811 '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>'''
, |
6804 }, | 6812 }, |
6805 }, | 6813 }, |
6806 'placeholders': [], | 6814 'placeholders': [], |
6807 } | 6815 } |
OLD | NEW |