Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2682473003: Add support for multiple allowed domains (Closed)
Patch Set: Rework to follow a deprecation approach Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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: 366 142 # For your editing convenience: highest ID currently used: 368
143 # And don't forget to also update the EnterprisePolicies enum of 143 # And don't forget to also update the EnterprisePolicies enum of
144 # histograms.xml (run tools/metrics/histograms/update_policies.py). 144 # histograms.xml (run tools/metrics/histograms/update_policies.py).
145 # 145 #
146 # Placeholders: 146 # Placeholders:
147 # The following placeholder strings are automatically substituted: 147 # The following placeholder strings are automatically substituted:
148 # $1 -> Google Chrome / Chromium 148 # $1 -> Google Chrome / Chromium
149 # $2 -> Google Chrome OS / Chromium OS 149 # $2 -> Google Chrome OS / Chromium OS
150 # $3 -> Google Chrome Frame / Chromium Frame 150 # $3 -> Google Chrome Frame / Chromium Frame
151 # $6 is reserved for doc_writer 151 # $6 is reserved for doc_writer
152 # 152 #
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 }, 764 },
765 { 765 {
766 'name': 'RemoteAccessHostClientDomain', 766 'name': 'RemoteAccessHostClientDomain',
767 'type': 'string', 767 'type': 'string',
768 'schema': { 'type': 'string' }, 768 'schema': { 'type': 'string' },
769 'supported_on': ['chrome.*:22-', 'chrome_os:41-'], 769 'supported_on': ['chrome.*:22-', 'chrome_os:41-'],
770 'features': { 770 'features': {
771 'dynamic_refresh': True, 771 'dynamic_refresh': True,
772 'per_profile': False, 772 'per_profile': False,
773 }, 773 },
774 'deprecated': True,
774 'example_value': 'my-awesome-domain.com', 775 'example_value': 'my-awesome-domain.com',
775 'id': 316, 776 'id': 316,
776 'caption': '''Configure the required domain name for remote access cli ents''', 777 'caption': '''Configure the required domain name for remote access cli ents''',
777 'tags': [], 778 'tags': [],
778 'desc': '''Configures the required client domain name that will be imp osed on remote access clients and prevents users from changing it. 779 'desc': '''This policy is deprecated. Please use RemoteAccessHostClien tDomainList instead.''',
780 },
781 {
782 'name': 'RemoteAccessHostClientDomainList',
783 'type': 'list',
784 'schema': {
785 'type': 'array',
786 'items': { 'type': 'string' },
787 },
788 'supported_on': ['chrome.*:60-', 'chrome_os:60-'],
789 'features': {
790 'dynamic_refresh': True,
791 'per_profile': False,
792 },
793 'example_value': ['my-awesome-domain.com', 'my-auxiliary-domain.com'],
794 'id': 368,
795 'caption': '''Configure the required domain names for remote access cl ients''',
796 'tags': [],
797 'desc': '''Configures the required client domain names that will be im posed on remote access clients and prevents users from changing it.
779 798
780 If this setting is enabled, then only clients from the specified domai n can connect to the host. 799 If this setting is enabled, then only clients from one of the specifie d domains can connect to the host.
781 800
782 If this setting is disabled or not set, then the default policy for th e connection type is applied. For remote assistance, this allows clients from an y domain can connect to the host; for anytime remote access, only the host owner can connect. 801 If this setting is disabled or not set, then the default policy for th e connection type is applied. For remote assistance, this allows clients from an y domain to connect to the host; for anytime remote access, only the host owner can connect.
783 802
784 See also RemoteAccessHostDomain.''', 803 This setting will override RemoteAccessHostClientDomain, if present.
804
805 See also RemoteAccessHostDomainList.''',
785 }, 806 },
786 { 807 {
787 'name': 'RemoteAccessHostFirewallTraversal', 808 'name': 'RemoteAccessHostFirewallTraversal',
788 'type': 'main', 809 'type': 'main',
789 'schema': { 'type': 'boolean' }, 810 'schema': { 'type': 'boolean' },
790 'supported_on': ['chrome.*:14-', 'chrome_os:41-'], 811 'supported_on': ['chrome.*:14-', 'chrome_os:41-'],
791 'features': { 812 'features': {
792 'dynamic_refresh': True, 813 'dynamic_refresh': True,
793 'per_profile': False, 814 'per_profile': False,
794 }, 815 },
(...skipping 11 matching lines...) Expand all
806 }, 827 },
807 { 828 {
808 'name': 'RemoteAccessHostDomain', 829 'name': 'RemoteAccessHostDomain',
809 'type': 'string', 830 'type': 'string',
810 'schema': { 'type': 'string' }, 831 'schema': { 'type': 'string' },
811 'supported_on': ['chrome.*:22-', 'chrome_os:41-'], 832 'supported_on': ['chrome.*:22-', 'chrome_os:41-'],
812 'features': { 833 'features': {
813 'dynamic_refresh': True, 834 'dynamic_refresh': True,
814 'per_profile': False, 835 'per_profile': False,
815 }, 836 },
837 'deprecated': True,
816 'example_value': 'my-awesome-domain.com', 838 'example_value': 'my-awesome-domain.com',
817 'id': 154, 839 'id': 154,
818 'caption': '''Configure the required domain name for remote access hos ts''', 840 'caption': '''Configure the required domain name for remote access hos ts''',
819 'tags': [], 841 'tags': [],
820 'desc': '''Configures the required host domain name that will be impos ed on remote access hosts and prevents users from changing it. 842 'desc': '''This policy is deprecated. Please use RemoteAccessHostDomai nList instead.''',
843 },
844 {
845 'name': 'RemoteAccessHostDomainList',
846 'type': 'list',
847 'schema': {
848 'type': 'array',
849 'items': {'type': 'string' },
850 },
851 'supported_on': ['chrome.*:60-', 'chrome_os:60-'],
852 'features': {
853 'dynamic_refresh': True,
854 'per_profile': False,
855 },
856 'example_value': ['my-awesome-domain.com', 'my-auxiliary-domain.com'],
857 'id': 367,
858 'caption': '''Configure the required domain names for remote access ho sts''',
859 'tags': [],
860 'desc': '''Configures the required host domain names that will be impo sed on remote access hosts and prevents users from changing it.
821 861
822 If this setting is enabled, then hosts can be shared only using accoun ts registered on the specified domain name. 862 If this setting is enabled, then hosts can be shared only using accoun ts registered on one of the specified domain names.
823 863
824 If this setting is disabled or not set, then hosts can be shared using any account. 864 If this setting is disabled or not set, then hosts can be shared using any account.
825 865
826 See also RemoteAccessHostClientDomain.''', 866 This setting will override RemoteAccessHostDomain, if present.
867
868 See also RemoteAccessHostClientDomainList.''',
827 }, 869 },
828 { 870 {
829 'name': 'RemoteAccessHostRequireTwoFactor', 871 'name': 'RemoteAccessHostRequireTwoFactor',
830 'type': 'main', 872 'type': 'main',
831 'schema': { 'type': 'boolean' }, 873 'schema': { 'type': 'boolean' },
832 'supported_on': ['chrome.*:22-22'], 874 'supported_on': ['chrome.*:22-22'],
833 'features': { 875 'features': {
834 'dynamic_refresh': True, 876 'dynamic_refresh': True,
835 'per_profile': False, 877 'per_profile': False,
836 }, 878 },
(...skipping 8925 matching lines...) Expand 10 before | Expand all | Expand 10 after
9762 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9804 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9763 'text': 'Default Settings (users can override)', 9805 'text': 'Default Settings (users can override)',
9764 }, 9806 },
9765 'doc_complex_policies_on_windows': { 9807 'doc_complex_policies_on_windows': {
9766 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9808 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9767 '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>' '', 9809 '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>' '',
9768 }, 9810 },
9769 }, 9811 },
9770 'placeholders': [], 9812 'placeholders': [],
9771 } 9813 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698