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: 149 | 115 # For your editing convenience: highest ID currently used: 150 |
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 2607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2733 }, | 2733 }, |
2734 'example_value': '*@domain.com', | 2734 'example_value': '*@domain.com', |
2735 'id': 147, | 2735 'id': 147, |
2736 'caption': '''Restrict which users are allowed to sign in to <ph name="PRO
DUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', | 2736 'caption': '''Restrict which users are allowed to sign in to <ph name="PRO
DUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', |
2737 'desc': '''Contains a regular expression which is used to determine which
users can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. | 2737 'desc': '''Contains a regular expression which is used to determine which
users can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
2738 | 2738 |
2739 An appropriate error is displayed if a user tries to log in with a usernam
e that does not match this pattern. | 2739 An appropriate error is displayed if a user tries to log in with a usernam
e that does not match this pattern. |
2740 | 2740 |
2741 If this policy is left not set or blank, then any user can sign in to <ph
name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', | 2741 If this policy is left not set or blank, then any user can sign in to <ph
name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''', |
2742 }, | 2742 }, |
| 2743 { |
| 2744 'name': 'DisableScreenshots', |
| 2745 'type': 'main', |
| 2746 'supported_on': ['chrome_os:22-'], |
| 2747 'features': { |
| 2748 'dynamic_refresh': True, |
| 2749 }, |
| 2750 'example_value': True, |
| 2751 'id': 150, |
| 2752 'caption': '''Disable taking screenshots''', |
| 2753 'desc': '''Disables taking screenshots. |
| 2754 |
| 2755 If enabled screenshots cannot be taken using keyboard shortcuts or extensi
on APIs. |
| 2756 |
| 2757 If disabled or not specified, taking screenshots is allowed.''' |
| 2758 }, |
2743 ], | 2759 ], |
2744 'messages': { | 2760 'messages': { |
2745 # Messages that are not associated to any policies. | 2761 # Messages that are not associated to any policies. |
2746 'win_supported_winxpsp2': { | 2762 'win_supported_winxpsp2': { |
2747 '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:'.''', | 2763 '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:'.''', |
2748 'text': '''Microsoft Windows XP SP2 or later''' | 2764 'text': '''Microsoft Windows XP SP2 or later''' |
2749 }, | 2765 }, |
2750 'mac_chrome_preferences': { | 2766 'mac_chrome_preferences': { |
2751 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chrome are being edited''', | 2767 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently
the preferences of Chrome are being edited''', |
2752 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc
es''' | 2768 '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... |
2831 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', | 2847 'desc': '''Text appended in parentheses to the policy name to indicate tha
t it has been deprecated''', |
2832 'text': 'deprecated', | 2848 'text': 'deprecated', |
2833 }, | 2849 }, |
2834 'doc_recommended': { | 2850 'doc_recommended': { |
2835 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', | 2851 'desc': '''Text appended in parentheses next to the policies top-level con
tainer to indicate that those policies are of the Recommended level''', |
2836 'text': 'Recommended', | 2852 'text': 'Recommended', |
2837 }, | 2853 }, |
2838 }, | 2854 }, |
2839 'placeholders': [], | 2855 'placeholders': [], |
2840 } | 2856 } |
OLD | NEW |