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

Side by Side Diff: chrome/app/policy/policy_templates.json

Issue 17546004: Added policy for disabling locally managed users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Some remarks fixed. Created 7 years, 6 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 | Annotate | Revision Log
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 214 115 # For your editing convenience: highest ID currently used: 215
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 4748 matching lines...) Expand 10 before | Expand all | Expand 10 after
4874 'example_value': { 4874 'example_value': {
4875 'https://www.example.com': True, 4875 'https://www.example.com': True,
4876 'http://moose.org': False 4876 'http://moose.org': False
4877 }, 4877 },
4878 'id': 206, 4878 'id': 206,
4879 'caption': '''Managed user manual exception URLs''', 4879 'caption': '''Managed user manual exception URLs''',
4880 'desc': '''A dictionary mapping URLs to a boolean flag specifying whet her access to the host should be allowed (true) or blocked (false). 4880 'desc': '''A dictionary mapping URLs to a boolean flag specifying whet her access to the host should be allowed (true) or blocked (false).
4881 4881
4882 This policy is for internal use by Chrome itself.''', 4882 This policy is for internal use by Chrome itself.''',
4883 }, 4883 },
4884 {
4885 'name': 'LocallyManagedUsersEnabled',
4886 'type': 'main',
4887 'schema': { 'type': 'boolean' },
4888 'supported_on': ['chrome:29-', 'chrome_os:29-'],
Mattias Nissler (ping if slow) 2013/06/21 14:41:16 One more thing: I don't see any code for chrome de
dzhioev (left Google) 2013/06/21 16:48:17 Done.
4889 'features': {
4890 'dynamic_refresh': False,
4891 'per_profile': False
4892 },
4893 'example_value': True,
4894 'id': 215,
4895 'caption': '''Enable locally managed users.''',
4896 'desc': '''If this policy set to false or not configured, <ph name="PR ODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> and <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> will disable locally managed users creation and login. '''
Mattias Nissler (ping if slow) 2013/06/21 14:25:16 Please also spell out behavior if set to true. Add
dzhioev (left Google) 2013/06/21 16:48:17 Done.
4897 },
4884 ], 4898 ],
4885 }, 4899 },
4886 ], 4900 ],
4887 'messages': { 4901 'messages': {
4888 # Messages that are not associated to any policies. 4902 # Messages that are not associated to any policies.
4889 'win_supported_winxpsp2': { 4903 'win_supported_winxpsp2': {
4890 '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:'.''', 4904 '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:'.''',
4891 'text': '''Microsoft Windows XP SP2 or later''' 4905 'text': '''Microsoft Windows XP SP2 or later'''
4892 }, 4906 },
4893 'mac_chrome_preferences': { 4907 'mac_chrome_preferences': {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
4980 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 4994 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
4981 'text': 'deprecated', 4995 'text': 'deprecated',
4982 }, 4996 },
4983 'doc_recommended': { 4997 'doc_recommended': {
4984 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 4998 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
4985 'text': 'Default Settings (users can override)', 4999 'text': 'Default Settings (users can override)',
4986 }, 5000 },
4987 }, 5001 },
4988 'placeholders': [], 5002 'placeholders': [],
4989 } 5003 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698