| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 # policy configuration files. 'dynamic_refresh' controls if the generated | 113 # policy configuration files. 'dynamic_refresh' controls if the generated |
| 114 # documentation should state that the policy supports dynamic refresh or not. | 114 # documentation should state that the policy supports dynamic refresh or not. |
| 115 # Supporting dynamic refresh means that Chrome respects the changes to the | 115 # Supporting dynamic refresh means that Chrome respects the changes to the |
| 116 # policy immediately, without the need for restart. | 116 # policy immediately, without the need for restart. |
| 117 # 'can_be_mandatory' can be set to False to exclude that policy in the | 117 # 'can_be_mandatory' can be set to False to exclude that policy in the |
| 118 # mandatory policies template. This only affects the template generation; | 118 # mandatory policies template. This only affects the template generation; |
| 119 # The default is True. | 119 # The default is True. |
| 120 # 'can_be_recommended' can be set to True to include that policy in the | 120 # 'can_be_recommended' can be set to True to include that policy in the |
| 121 # recommended policies templates. This only affects the template generation; | 121 # recommended policies templates. This only affects the template generation; |
| 122 # all policies can be at the recommended level. The default is False. | 122 # all policies can be at the recommended level. The default is False. |
| 123 # 'per_profile' controls whether a user policy applies to every user logging |
| 124 # into the browser or only one profile. |
| 123 # | 125 # |
| 124 # The 'max_size' key is used to specify the maximal size of the external data | 126 # The 'max_size' key is used to specify the maximal size of the external data |
| 125 # that a policy can reference, in bytes. This annotation is compulsory for | 127 # that a policy can reference, in bytes. This annotation is compulsory for |
| 126 # policies of type 'external'. It is ignored for all other policy types. | 128 # policies of type 'external'. It is ignored for all other policy types. |
| 127 # | 129 # |
| 128 # The 'future' key is used to indicate that a policy isn't yet ready for | 130 # The 'future' key is used to indicate that a policy isn't yet ready for |
| 129 # usage. It defaults to False, and currently affects the generated policy | 131 # usage. It defaults to False, and currently affects the generated policy |
| 130 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
| 131 # will include policies marked with 'future'. If a WIP policy isn't meant to | 133 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 132 # be seen by the policy providers either, the 'supported_on' key should be set | 134 # be seen by the policy providers either, the 'supported_on' key should be set |
| 133 # to an empty list. | 135 # to an empty list. |
| 134 # | 136 # |
| 135 # IDs: | 137 # IDs: |
| 136 # Since a Protocol Buffer definition is generated from this file, unique and | 138 # Since a Protocol Buffer definition is generated from this file, unique and |
| 137 # persistent IDs for all fields (but not for groups!) are needed. These are | 139 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 139 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
| 140 # For your editing convenience: highest ID currently used: 348 | 142 # For your editing convenience: highest ID currently used: 349 |
| 141 # | 143 # |
| 142 # Placeholders: | 144 # Placeholders: |
| 143 # The following placeholder strings are automatically substituted: | 145 # The following placeholder strings are automatically substituted: |
| 144 # $1 -> Google Chrome / Chromium | 146 # $1 -> Google Chrome / Chromium |
| 145 # $2 -> Google Chrome OS / Chromium OS | 147 # $2 -> Google Chrome OS / Chromium OS |
| 146 # $3 -> Google Chrome Frame / Chromium Frame | 148 # $3 -> Google Chrome Frame / Chromium Frame |
| 147 # $6 is reserved for doc_writer | 149 # $6 is reserved for doc_writer |
| 148 # | 150 # |
| 149 # Device Policy: | 151 # Device Policy: |
| 150 # An additional flag 'device_only' (optional, defaults to False) indicates | 152 # An additional flag 'device_only' (optional, defaults to False) indicates |
| (...skipping 4836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4987 'features': { | 4989 'features': { |
| 4988 'dynamic_refresh': True, | 4990 'dynamic_refresh': True, |
| 4989 }, | 4991 }, |
| 4990 'example_value': False, | 4992 'example_value': False, |
| 4991 'id': 291, | 4993 'id': 291, |
| 4992 'caption': '''Report information about active kiosk sessions''', | 4994 'caption': '''Report information about active kiosk sessions''', |
| 4993 'tags': ['admin-sharing'], | 4995 'tags': ['admin-sharing'], |
| 4994 'desc': '''Report information about the active kiosk session, such as | 4996 'desc': '''Report information about the active kiosk session, such as |
| 4995 application ID and version. | 4997 application ID and version. |
| 4996 | 4998 |
| 4997 If the policy is set to false, the session information will not be | 4999 If the policy is set to false, the kiosk session information will not be |
| 4998 reported. If set to true or left unset, session information will be | 5000 reported. If set to true or left unset, kiosk session information will be |
| 4999 reported.''', | 5001 reported.''', |
| 5000 'arc_support': 'This policy has no effect on the logging done by Android.'
, | 5002 'arc_support': 'This policy has no effect on the logging done by Android.'
, |
| 5001 }, | 5003 }, |
| 5002 { | 5004 { |
| 5003 'name': 'ReportUploadFrequency', | 5005 'name': 'ReportUploadFrequency', |
| 5004 'type': 'int', | 5006 'type': 'int', |
| 5005 'schema': { 'type': 'integer', 'minimum': 60000 }, | 5007 'schema': { 'type': 'integer', 'minimum': 60000 }, |
| 5006 'supported_on': ['chrome_os:42-'], | 5008 'supported_on': ['chrome_os:42-'], |
| 5007 'device_only': True, | 5009 'device_only': True, |
| 5008 'features': { | 5010 'features': { |
| 5009 'dynamic_refresh': True, | 5011 'dynamic_refresh': True, |
| 5010 }, | 5012 }, |
| 5011 'example_value': 10800000, | 5013 'example_value': 10800000, |
| 5012 'id': 292, | 5014 'id': 292, |
| 5013 'caption': '''Frequency of device status report uploads''', | 5015 'caption': '''Frequency of device status report uploads''', |
| 5014 'tags': ['admin-sharing'], | 5016 'tags': ['admin-sharing'], |
| 5015 'desc': '''How frequently device status uploads are sent, in milliseconds. | 5017 'desc': '''How frequently device status uploads are sent, in milliseconds. |
| 5016 | 5018 |
| 5017 If this policy is unset, the default frequency is 3 hours. The minimum | 5019 If this policy is unset, the default frequency is 3 hours. The minimum |
| 5018 allowed frequency is 60 seconds.''', | 5020 allowed frequency is 60 seconds.''', |
| 5019 'arc_support': 'This policy has no effect on the logging done by Android.'
, | 5021 'arc_support': 'This policy has no effect on the logging done by Android.'
, |
| 5020 }, | 5022 }, |
| 5021 { | 5023 { |
| 5024 'name': 'ReportArcStatus', |
| 5025 'type': 'main', |
| 5026 'schema': { 'type': 'boolean' }, |
| 5027 'supported_on': ['chrome_os:55-'], |
| 5028 'features': { |
| 5029 'dynamic_refresh': True, |
| 5030 'per_profile': False, |
| 5031 }, |
| 5032 'example_value': False, |
| 5033 'id': 349, |
| 5034 'caption': '''Report information about status of Android''', |
| 5035 'tags': ['admin-sharing'], |
| 5036 'desc': '''Report information about the status of Android is send back to |
| 5037 the server. |
| 5038 |
| 5039 If the policy is set to false, the information will not be reported. |
| 5040 If set to true or left unset, the information will be reported. |
| 5041 |
| 5042 This policy only applies if Android apps are enabled.''', |
| 5043 }, |
| 5044 { |
| 5022 'name': 'HeartbeatEnabled', | 5045 'name': 'HeartbeatEnabled', |
| 5023 'type': 'main', | 5046 'type': 'main', |
| 5024 'schema': { 'type': 'boolean' }, | 5047 'schema': { 'type': 'boolean' }, |
| 5025 'supported_on': ['chrome_os:43-'], | 5048 'supported_on': ['chrome_os:43-'], |
| 5026 'device_only': True, | 5049 'device_only': True, |
| 5027 'features': { | 5050 'features': { |
| 5028 'dynamic_refresh': True, | 5051 'dynamic_refresh': True, |
| 5029 }, | 5052 }, |
| 5030 'example_value': False, | 5053 'example_value': False, |
| 5031 'id': 293, | 5054 'id': 293, |
| (...skipping 4143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9175 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 9198 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
| 9176 'text': 'Default Settings (users can override)', | 9199 'text': 'Default Settings (users can override)', |
| 9177 }, | 9200 }, |
| 9178 'doc_complex_policies_on_windows': { | 9201 'doc_complex_policies_on_windows': { |
| 9179 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', | 9202 'desc': '''Text pointing the user to a help article for complex policies o
n Windows''', |
| 9180 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL
ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e
x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>'
'', | 9203 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL
ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e
x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>'
'', |
| 9181 }, | 9204 }, |
| 9182 }, | 9205 }, |
| 9183 'placeholders': [], | 9206 'placeholders': [], |
| 9184 } | 9207 } |
| OLD | NEW |