| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 # templates and documentation. The policy definition list that Chrome sees | 105 # templates and documentation. The policy definition list that Chrome sees |
| 106 # will include policies marked with 'future'. If a WIP policy isn't meant to | 106 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 107 # be seen by the policy providers either, the 'supported_on' key should be set | 107 # be seen by the policy providers either, the 'supported_on' key should be set |
| 108 # to an empty list. | 108 # to an empty list. |
| 109 # | 109 # |
| 110 # IDs: | 110 # IDs: |
| 111 # Since a Protocol Buffer definition is generated from this file, unique and | 111 # Since a Protocol Buffer definition is generated from this file, unique and |
| 112 # persistent IDs for all fields (but not for groups!) are needed. These are | 112 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 114 # because doing so would break the deployed wire format! | 114 # because doing so would break the deployed wire format! |
| 115 # For your editing convenience: highest ID currently used: 153 | 115 # For your editing convenience: highest ID currently used: 154 |
| 116 # | 116 # |
| 117 # Placeholders: | 117 # Placeholders: |
| 118 # The following placeholder strings are automatically substituted: | 118 # The following placeholder strings are automatically substituted: |
| 119 # $1 -> Google Chrome / Chromium | 119 # $1 -> Google Chrome / Chromium |
| 120 # $2 -> Google Chrome OS / Chromium OS | 120 # $2 -> Google Chrome OS / Chromium OS |
| 121 # $3 -> Google Chrome Frame / Chromium Frame | 121 # $3 -> Google Chrome Frame / Chromium Frame |
| 122 # $6 is reserved for doc_writer | 122 # $6 is reserved for doc_writer |
| 123 # | 123 # |
| 124 # Device Policy: | 124 # Device Policy: |
| 125 # An additional flag device_only (optional, defaults to False) indicates | 125 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 2967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3093 }, | 3093 }, |
| 3094 'example_value': True, | 3094 'example_value': True, |
| 3095 'id': 153, | 3095 'id': 153, |
| 3096 'caption': '''Disable taking screenshots''', | 3096 'caption': '''Disable taking screenshots''', |
| 3097 'desc': '''Disables taking screenshots. | 3097 'desc': '''Disables taking screenshots. |
| 3098 | 3098 |
| 3099 If enabled screenshots cannot be taken using keyboard shortcuts or extensi
on APIs. | 3099 If enabled screenshots cannot be taken using keyboard shortcuts or extensi
on APIs. |
| 3100 | 3100 |
| 3101 If disabled or not specified, taking screenshots is allowed.''' | 3101 If disabled or not specified, taking screenshots is allowed.''' |
| 3102 }, | 3102 }, |
| 3103 { |
| 3104 'name': 'DeviceTimezone', |
| 3105 'type': 'string', |
| 3106 'schema': { 'type': 'string' }, |
| 3107 'supported_on': ['chrome_os:22-'], |
| 3108 'device_only': True, |
| 3109 'features': {'dynamic_refresh': True}, |
| 3110 'example_value': 'America/Los_Angeles', |
| 3111 'id': 154, |
| 3112 'caption': '''Timezone''', |
| 3113 'desc': '''Specifies the timezone to be used for the device. Users can ove
rride the specified timezone for the current session. |
| 3114 However, on logout it is set back to the specified timezone. |
| 3115 |
| 3116 If this policy is not used or set to an invalid value, users can change th
e timezone and the change is persistent. Thus a change affects the login-screen
and other users. |
| 3117 If additionally no user ever set a timezone, a default value (currently "U
S/Pacific") is used.''', |
| 3118 }, |
| 3103 ], | 3119 ], |
| 3104 'messages': { | 3120 'messages': { |
| 3105 # Messages that are not associated to any policies. | 3121 # Messages that are not associated to any policies. |
| 3106 'win_supported_winxpsp2': { | 3122 'win_supported_winxpsp2': { |
| 3107 '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:'.''', | 3123 '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:'.''', |
| 3108 'text': '''Microsoft Windows XP SP2 or later''' | 3124 'text': '''Microsoft Windows XP SP2 or later''' |
| 3109 }, | 3125 }, |
| 3110 'mac_chrome_preferences': { | 3126 'mac_chrome_preferences': { |
| 3111 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chrome are being edited''', | 3127 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chrome are being edited''', |
| 3112 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc
es''' | 3128 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc
es''' |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3191 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 3207 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
| 3192 'text': 'deprecated', | 3208 'text': 'deprecated', |
| 3193 }, | 3209 }, |
| 3194 'doc_recommended': { | 3210 'doc_recommended': { |
| 3195 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 3211 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
| 3196 'text': 'Recommended', | 3212 'text': 'Recommended', |
| 3197 }, | 3213 }, |
| 3198 }, | 3214 }, |
| 3199 'placeholders': [], | 3215 'placeholders': [], |
| 3200 } | 3216 } |
| OLD | NEW |