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 100 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: 267 | 121 # For your editing convenience: highest ID currently used: 269 |
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 2529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2661 'per_profile': True, | 2661 'per_profile': True, |
2662 }, | 2662 }, |
2663 'example_value': ['http://www.example.com', '[*.]example.edu'], | 2663 'example_value': ['http://www.example.com', '[*.]example.edu'], |
2664 'id': 75, | 2664 'id': 75, |
2665 'caption': '''Allow popups on these sites''', | 2665 'caption': '''Allow popups on these sites''', |
2666 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups. | 2666 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups. |
2667 | 2667 |
2668 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''', | 2668 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''', |
2669 }, | 2669 }, |
2670 { | 2670 { |
2671 'name': 'RegisteredProtocolHandlers', | |
2672 'type': 'list', | |
2673 'schema': { | |
2674 'type': 'array', | |
2675 'items': { | |
2676 'type': 'object', | |
2677 'properties': { | |
2678 'default': { | |
2679 'description': 'A boolean flag indicating if the protocol hand ler should be set as the default.', | |
2680 'type': 'boolean' | |
2681 }, | |
2682 'protocol': { | |
2683 'description': 'The protocol for the protocol handler.', | |
2684 'type': 'string' | |
2685 }, | |
2686 'url': { | |
2687 'description': 'The URL of the protocol handler.', | |
2688 'type': 'string' | |
2689 } | |
2690 }, | |
2691 'required': ['protocol', 'url'] | |
2692 } | |
2693 }, | |
2694 'supported_on': ['chrome.*:37-', 'chrome_os:37-', 'ios:37-', 'android: 37-'], | |
bartfab (slow)
2014/06/06 12:01:58
1: As pointed out by Joao, please verify whether t
kaliamoorthi
2014/06/10 17:14:27
We discusses this.
| |
2695 'features': { | |
2696 'dynamic_refresh': False, | |
2697 'per_profile': True, | |
2698 }, | |
2699 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c om/mail/?extsrc=mailto&url=%s'}], | |
2700 'id': 268, | |
2701 'caption': '''Register protocol handlers''', | |
2702 'desc': '''Allows you to register a list of protocol handlers. This ca n only be a recommended policy. The field protocol should be set to the scheme s uch as 'mailto' and the field url should be set to the URL pattern of the applic ation that handles the scheme. The pattern should include a '%s' as a placeholde r for data. | |
bartfab (slow)
2014/06/06 12:01:58
Nit: Put the field names in pipes to make them eas
kaliamoorthi
2014/06/10 17:14:27
Done.
| |
2703 | |
2704 The protocol handlers registered by policy are merged with the ones re gistered by user via settings and both available for use. The user can override the protocol handlers installed by policy by installing a new default handler, b ut is not allowed to remove a protocol handler registered by policy. ''', | |
bartfab (slow)
2014/06/06 12:01:58
Nit 1: s/by user/by the user/
Nit 2: s/ '''/'''/
kaliamoorthi
2014/06/10 17:14:27
Done.
| |
2705 }, | |
2706 { | |
2707 'name': 'IgnoredProtocolHandlers', | |
2708 'type': 'list', | |
2709 'schema': { | |
2710 'type': 'array', | |
2711 'items': { | |
2712 'type': 'object', | |
2713 'properties': { | |
2714 'protocol': { | |
2715 'description': 'The protocol for the protocol handler.', | |
2716 'type': 'string' | |
2717 }, | |
2718 'url': { | |
2719 'description': 'The URL of the protocol handler.', | |
2720 'type': 'string' | |
2721 } | |
2722 }, | |
2723 'required': ['protocol', 'url'] | |
2724 } | |
2725 }, | |
2726 'supported_on': ['chrome.*:37-', 'chrome_os:37-', 'ios:37-', 'android: 37-'], | |
2727 'features': { | |
2728 'dynamic_refresh': False, | |
2729 'per_profile': True, | |
2730 }, | |
2731 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c om/mail/?extsrc=mailto&url=%s'}], | |
2732 'id': 269, | |
2733 'caption': '''Ignore protocol handlers''', | |
2734 'desc': '''Allows you to ignore a list of protocol handlers, i.e., whe n an app attempts to install a protocol handler in the list, the attempt is sile ntly ignored without requiring user input. This can only be a recommended policy . The field protocol should be set to the scheme such as 'mailto' and the field url should be set to the URL pattern of the application that handles the scheme. | |
bartfab (slow)
2014/06/06 12:01:58
1: The combination of preventing the user from doi
kaliamoorthi
2014/06/10 17:14:27
This is not valid anymore.
| |
2735 | |
2736 The protocol handlers ignored by policy are merged with the ones ignor ed by user via settings. The user is not allowed to remove a protocol handler ig nored by policy. ''', | |
bartfab (slow)
2014/06/06 12:01:58
Nit 1: s/by user/by the user/
Nit 2: s/ '''/'''/
kaliamoorthi
2014/06/10 17:14:27
This is not valid anymore.
| |
2737 }, | |
2738 { | |
2671 'name': 'PopupsBlockedForUrls', | 2739 'name': 'PopupsBlockedForUrls', |
2672 'type': 'list', | 2740 'type': 'list', |
2673 'schema': { | 2741 'schema': { |
2674 'type': 'array', | 2742 'type': 'array', |
2675 'items': { 'type': 'string' }, | 2743 'items': { 'type': 'string' }, |
2676 }, | 2744 }, |
2677 'supported_on': [ | 2745 'supported_on': [ |
2678 'chrome.*:11-', | 2746 'chrome.*:11-', |
2679 'chrome_os:11-', | 2747 'chrome_os:11-', |
2680 'ios:34-', | 2748 'ios:34-', |
(...skipping 3854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6535 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 6603 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
6536 'text': 'deprecated', | 6604 'text': 'deprecated', |
6537 }, | 6605 }, |
6538 'doc_recommended': { | 6606 'doc_recommended': { |
6539 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 6607 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
6540 'text': 'Default Settings (users can override)', | 6608 'text': 'Default Settings (users can override)', |
6541 }, | 6609 }, |
6542 }, | 6610 }, |
6543 'placeholders': [], | 6611 'placeholders': [], |
6544 } | 6612 } |
OLD | NEW |