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 13 matching lines...) Expand all Loading... |
24 # 'int' - an integer value | 24 # 'int' - an integer value |
25 # 'int-enum' - the user can select an integer value from a collection of | 25 # 'int-enum' - the user can select an integer value from a collection of |
26 # items | 26 # items |
27 # 'string-enum' - the user can select a string value from a collection of | 27 # 'string-enum' - the user can select a string value from a collection of |
28 # items | 28 # items |
29 # 'main' - a boolean value | 29 # 'main' - a boolean value |
30 # 'list' - a list of string values | 30 # 'list' - a list of string values |
31 # 'dict' - a dictionary value, containing other values indexed by strings | 31 # 'dict' - a dictionary value, containing other values indexed by strings |
32 # NOTE: This type is not supported yet. http://crbug.com/108992 | 32 # NOTE: This type is not supported yet. http://crbug.com/108992 |
33 # 'external' - a policy that references external data. | 33 # 'external' - a policy that references external data. |
34 # NOTE: This type is not supported yet. http://crbug.com/256635 | 34 # NOTE: This type is currently supported on Chrome OS only. |
35 # | 35 # |
36 # Policy group descriptions, policy captions and similar texts are localized | 36 # Policy group descriptions, policy captions and similar texts are localized |
37 # strings taken from the <message> nodes of the .grd file. Their name | 37 # strings taken from the <message> nodes of the .grd file. Their name |
38 # attributes are generated from the JSON keys. | 38 # attributes are generated from the JSON keys. |
39 # Each item (policy or group) may have the following messages: | 39 # Each item (policy or group) may have the following messages: |
40 # - description: | 40 # - description: |
41 # Describes the item it applies to. | 41 # Describes the item it applies to. |
42 # - caption | 42 # - caption |
43 # A short, one-line summary of the item it applies to. This can appear | 43 # A short, one-line summary of the item it applies to. This can appear |
44 # both in policy or group listings or on title bars of policy-setting | 44 # both in policy or group listings or on title bars of policy-setting |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 # templates and documentation. The policy definition list that Chrome sees | 111 # templates and documentation. The policy definition list that Chrome sees |
112 # will include policies marked with 'future'. If a WIP policy isn't meant to | 112 # will include policies marked with 'future'. If a WIP policy isn't meant to |
113 # be seen by the policy providers either, the 'supported_on' key should be set | 113 # be seen by the policy providers either, the 'supported_on' key should be set |
114 # to an empty list. | 114 # to an empty list. |
115 # | 115 # |
116 # IDs: | 116 # IDs: |
117 # Since a Protocol Buffer definition is generated from this file, unique and | 117 # Since a Protocol Buffer definition is generated from this file, unique and |
118 # persistent IDs for all fields (but not for groups!) are needed. These are | 118 # persistent IDs for all fields (but not for groups!) are needed. These are |
119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
120 # because doing so would break the deployed wire format! | 120 # because doing so would break the deployed wire format! |
121 # For your editing convenience: highest ID currently used: 248 | 121 # For your editing convenience: highest ID currently used: 249 |
122 # | 122 # |
123 # Placeholders: | 123 # Placeholders: |
124 # The following placeholder strings are automatically substituted: | 124 # The following placeholder strings are automatically substituted: |
125 # $1 -> Google Chrome / Chromium | 125 # $1 -> Google Chrome / Chromium |
126 # $2 -> Google Chrome OS / Chromium OS | 126 # $2 -> Google Chrome OS / Chromium OS |
127 # $3 -> Google Chrome Frame / Chromium Frame | 127 # $3 -> Google Chrome Frame / Chromium Frame |
128 # $6 is reserved for doc_writer | 128 # $6 is reserved for doc_writer |
129 # | 129 # |
130 # Device Policy: | 130 # Device Policy: |
131 # An additional flag device_only (optional, defaults to False) indicates | 131 # An additional flag device_only (optional, defaults to False) indicates |
(...skipping 5588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5720 }, | 5720 }, |
5721 'example_value': True, | 5721 'example_value': True, |
5722 'id': 241, | 5722 'id': 241, |
5723 'caption': '''Enable the data compression proxy feature''', | 5723 'caption': '''Enable the data compression proxy feature''', |
5724 'desc': '''Enable or disable the data compression proxy and prevents users
from changing this setting. | 5724 'desc': '''Enable or disable the data compression proxy and prevents users
from changing this setting. |
5725 | 5725 |
5726 If you enable or disable this setting, users cannot change or override thi
s setting. | 5726 If you enable or disable this setting, users cannot change or override thi
s setting. |
5727 | 5727 |
5728 If this policy is left not set, the data compression proxy feature will be
available for the user to choose whether to use it or not.''', | 5728 If this policy is left not set, the data compression proxy feature will be
available for the user to choose whether to use it or not.''', |
5729 }, | 5729 }, |
| 5730 { |
| 5731 'name': 'UserAvatarImage', |
| 5732 'type': 'external', |
| 5733 'schema': { |
| 5734 'type': 'object', |
| 5735 'properties': { |
| 5736 'url': { "type": "string" }, |
| 5737 'hash': { "type": "string" } |
| 5738 }, |
| 5739 }, |
| 5740 'supported_on': ['chrome_os:33-'], |
| 5741 'features': { |
| 5742 'dynamic_refresh': True, |
| 5743 'per_profile': True, |
| 5744 }, |
| 5745 'example_value': { "url": "http://example.com/avatar.jpg", "hash": "deadbe
efdeadbeefdeadbeefdeadbeef" }, |
| 5746 'max_size': 524288, |
| 5747 'id': 249, |
| 5748 'caption': '''User avatar image''', |
| 5749 'desc': '''Configure user avatar image. |
| 5750 |
| 5751 This policy allows you to configure the avatar image representing the user
on the login screen. The policy is set by specifying the URL from which <ph nam
e="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> can download the avatar ima
ge and a cryptographic hash used to verify the integrity of the download. The im
age must be in JPEG format, its size must not exceed 512kB. The URL must be acce
ssible without any authentication. |
| 5752 |
| 5753 The avatar image is downloaded and cached. It will be re-downloaded whenev
er the URL or the hash changes. |
| 5754 |
| 5755 The policy should be specified as a string that expresses the URL and hash
in JSON format, conforming to the following schema: |
| 5756 { |
| 5757 "type": "object", |
| 5758 "properties": { |
| 5759 "url": { |
| 5760 "description": "The URL from which the avatar image can be downloade
d.", |
| 5761 "type": "string" |
| 5762 }, |
| 5763 "hash": { |
| 5764 "description": "The SHA-1 hash of the avatar image.", |
| 5765 "type": "string" |
| 5766 } |
| 5767 } |
| 5768 } |
| 5769 |
| 5770 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</
ex></ph> will download and use the avatar image. |
| 5771 |
| 5772 If you set this policy, users cannot change or override it. |
| 5773 |
| 5774 If the policy is left not set, the user can choose the avatar image repres
enting him/her on the login screen.''', |
| 5775 }, |
5730 ], | 5776 ], |
5731 'messages': { | 5777 'messages': { |
5732 # Messages that are not associated to any policies. | 5778 # Messages that are not associated to any policies. |
5733 'win_supported_winxpsp2': { | 5779 'win_supported_winxpsp2': { |
5734 '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:'.''', | 5780 '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:'.''', |
5735 'text': '''Microsoft Windows XP SP2 or later''' | 5781 'text': '''Microsoft Windows XP SP2 or later''' |
5736 }, | 5782 }, |
5737 'mac_chrome_preferences': { | 5783 'mac_chrome_preferences': { |
5738 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chrome are being edited''', | 5784 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chrome are being edited''', |
5739 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc
es''' | 5785 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc
es''' |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5824 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 5870 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
5825 'text': 'deprecated', | 5871 'text': 'deprecated', |
5826 }, | 5872 }, |
5827 'doc_recommended': { | 5873 'doc_recommended': { |
5828 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 5874 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
5829 'text': 'Default Settings (users can override)', | 5875 'text': 'Default Settings (users can override)', |
5830 }, | 5876 }, |
5831 }, | 5877 }, |
5832 'placeholders': [], | 5878 'placeholders': [], |
5833 } | 5879 } |
OLD | NEW |