Chromium Code Reviews| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 # templates and documentation. The policy definition list that Chrome sees | 132 # templates and documentation. The policy definition list that Chrome sees |
| 133 # 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 |
| 134 # 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 |
| 135 # to an empty list. | 135 # to an empty list. |
| 136 # | 136 # |
| 137 # IDs: | 137 # IDs: |
| 138 # 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 |
| 139 # 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 |
| 140 # 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, |
| 141 # because doing so would break the deployed wire format! | 141 # because doing so would break the deployed wire format! |
| 142 # For your editing convenience: highest ID currently used: 349 | 142 # For your editing convenience: highest ID currently used: 351 |
| 143 # | 143 # |
| 144 # Placeholders: | 144 # Placeholders: |
| 145 # The following placeholder strings are automatically substituted: | 145 # The following placeholder strings are automatically substituted: |
| 146 # $1 -> Google Chrome / Chromium | 146 # $1 -> Google Chrome / Chromium |
| 147 # $2 -> Google Chrome OS / Chromium OS | 147 # $2 -> Google Chrome OS / Chromium OS |
| 148 # $3 -> Google Chrome Frame / Chromium Frame | 148 # $3 -> Google Chrome Frame / Chromium Frame |
| 149 # $6 is reserved for doc_writer | 149 # $6 is reserved for doc_writer |
| 150 # | 150 # |
| 151 # Device Policy: | 151 # Device Policy: |
| 152 # An additional flag 'device_only' (optional, defaults to False) indicates | 152 # An additional flag 'device_only' (optional, defaults to False) indicates |
| (...skipping 8921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9074 }, | 9074 }, |
| 9075 'example_value': True, | 9075 'example_value': True, |
| 9076 'id': 342, | 9076 'id': 342, |
| 9077 'caption': '''Enables component updates in <ph name="PRODUCT_NAME">$1<ex>G oogle Chrome</ex></ph>.''', | 9077 'caption': '''Enables component updates in <ph name="PRODUCT_NAME">$1<ex>G oogle Chrome</ex></ph>.''', |
| 9078 'tags': [], | 9078 'tags': [], |
| 9079 'desc': '''Enables component updates for all components in <ph name="PRODU CT_NAME">$1<ex>Google Chrome</ex></ph> when not set or set to True. | 9079 'desc': '''Enables component updates for all components in <ph name="PRODU CT_NAME">$1<ex>Google Chrome</ex></ph> when not set or set to True. |
| 9080 | 9080 |
| 9081 If set to False, updates to components are disabled. However, some compone nts are exempt from this policy: updates to any component that does not contain executable code, or does not significantly alter the behavior of the browser, or is critical for its security will not be disabled. | 9081 If set to False, updates to components are disabled. However, some compone nts are exempt from this policy: updates to any component that does not contain executable code, or does not significantly alter the behavior of the browser, or is critical for its security will not be disabled. |
| 9082 Examples of such components include the certificate revocation lists and s afe browsing data. ''', | 9082 Examples of such components include the certificate revocation lists and s afe browsing data. ''', |
| 9083 }, | 9083 }, |
| 9084 { | |
| 9085 'name': 'QuickUnlockModeWhitelist', | |
| 9086 'type': 'list', | |
| 9087 'schema': { | |
| 9088 'type': 'array', | |
| 9089 'items': { 'type': 'string' }, | |
| 9090 }, | |
| 9091 'supported_on': ['chrome_os:55-'], | |
| 9092 'features': { | |
| 9093 'dynamic_refresh': True, | |
| 9094 'per_profile': True, | |
| 9095 }, | |
| 9096 'example_value': ['password'], | |
|
jdufault
2016/10/21 19:03:45
Use PIN instead of password for an example.
sammiequon
2016/10/21 23:49:25
Done.
| |
| 9097 'id': 350, | |
| 9098 'caption': '''Enable methods for unlocking the lock screen.''', | |
| 9099 'tags': [], | |
| 9100 'desc': ''' This policy sets which methods can be used to unlock the lock screen. All means all avaliable methods can be used, otherwise only the specifie d chosen methods may be used. ''', | |
| 9101 }, | |
| 9102 { | |
| 9103 'name': 'QuickUnlockTimeout', | |
| 9104 'type': 'int-enum', | |
| 9105 'schema': { | |
| 9106 'type': 'integer', | |
| 9107 'enum': [ 0, 1, 2, 3 ], | |
| 9108 }, | |
| 9109 'items': [ | |
| 9110 { | |
| 9111 'name': 'SixHours', | |
| 9112 'value': 0, | |
| 9113 'caption': '''Enter password every six hours to continue using quick u nlock.''', | |
| 9114 }, | |
| 9115 { | |
| 9116 'name': 'TweleveHours', | |
| 9117 'value': 1, | |
| 9118 'caption': '''Enter password every twelve hours to continue using quic k unlock.''', | |
| 9119 }, | |
| 9120 { | |
| 9121 'name': 'Day', | |
| 9122 'value': 2, | |
| 9123 'caption': '''Enter password every day to continue using quick unlock. ''', | |
| 9124 }, | |
| 9125 { | |
| 9126 'name': 'Week', | |
| 9127 'value': 3, | |
| 9128 'caption': '''Enter password every week to continue using quick unlock .''', | |
| 9129 }, | |
| 9130 ], | |
| 9131 'supported_on': ['chrome_os:55-'], | |
| 9132 'features': { | |
| 9133 'dynamic_refresh': True, | |
| 9134 'per_profile': True, | |
| 9135 }, | |
| 9136 'example_value': 2, | |
| 9137 'id': 351, | |
| 9138 'caption': '''Sets how often user has to enter password to use quick unloc k.''', | |
| 9139 'tags': [], | |
| 9140 'desc': ''' Users have to enter the password into the lock screen every on ce in a while to continue using quick unlock. This policy sents the interval at which the lock screen will request the users password. ''', | |
| 9141 }, | |
| 9084 ], | 9142 ], |
| 9085 'messages': { | 9143 'messages': { |
| 9086 # Messages that are not associated to any policies. | 9144 # Messages that are not associated to any policies. |
| 9087 'win_supported_winxpsp2': { | 9145 'win_supported_winxpsp2': { |
| 9088 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', | 9146 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', |
| 9089 'text': '''Microsoft Windows XP SP2 or later''' | 9147 'text': '''Microsoft Windows XP SP2 or later''' |
| 9090 }, | 9148 }, |
| 9091 'mac_chrome_preferences': { | 9149 'mac_chrome_preferences': { |
| 9092 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', | 9150 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', |
| 9093 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 9151 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9207 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 9265 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 9208 'text': 'Default Settings (users can override)', | 9266 'text': 'Default Settings (users can override)', |
| 9209 }, | 9267 }, |
| 9210 'doc_complex_policies_on_windows': { | 9268 'doc_complex_policies_on_windows': { |
| 9211 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 9269 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 9212 '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>' '', | 9270 '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>' '', |
| 9213 }, | 9271 }, |
| 9214 }, | 9272 }, |
| 9215 'placeholders': [], | 9273 'placeholders': [], |
| 9216 } | 9274 } |
| OLD | NEW |