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

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

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: Created 4 years, 2 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 # templates and documentation. The policy definition list that Chrome sees 130 # templates and documentation. The policy definition list that Chrome sees
131 # will include policies marked with 'future'. If a WIP policy isn't meant to 131 # will include policies marked with 'future'. If a WIP policy isn't meant to
132 # be seen by the policy providers either, the 'supported_on' key should be set 132 # be seen by the policy providers either, the 'supported_on' key should be set
133 # to an empty list. 133 # to an empty list.
134 # 134 #
135 # IDs: 135 # IDs:
136 # Since a Protocol Buffer definition is generated from this file, unique and 136 # Since a Protocol Buffer definition is generated from this file, unique and
137 # persistent IDs for all fields (but not for groups!) are needed. These are 137 # persistent IDs for all fields (but not for groups!) are needed. These are
138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
139 # because doing so would break the deployed wire format! 139 # because doing so would break the deployed wire format!
140 # For your editing convenience: highest ID currently used: 349 140 # For your editing convenience: highest ID currently used: 351
141 # 141 #
142 # Placeholders: 142 # Placeholders:
143 # The following placeholder strings are automatically substituted: 143 # The following placeholder strings are automatically substituted:
144 # $1 -> Google Chrome / Chromium 144 # $1 -> Google Chrome / Chromium
145 # $2 -> Google Chrome OS / Chromium OS 145 # $2 -> Google Chrome OS / Chromium OS
146 # $3 -> Google Chrome Frame / Chromium Frame 146 # $3 -> Google Chrome Frame / Chromium Frame
147 # $6 is reserved for doc_writer 147 # $6 is reserved for doc_writer
148 # 148 #
149 # Device Policy: 149 # Device Policy:
150 # An additional flag 'device_only' (optional, defaults to False) indicates 150 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 8871 matching lines...) Expand 10 before | Expand all | Expand 10 after
9022 'features': { 9022 'features': {
9023 'dynamic_refresh': False, 9023 'dynamic_refresh': False,
9024 'per_profile': False, 9024 'per_profile': False,
9025 }, 9025 },
9026 'example_value': False, 9026 'example_value': False,
9027 'id': 349, 9027 'id': 349,
9028 'caption': '''Enables users to set easy to guess pins for the lock screen pin.''', 9028 'caption': '''Enables users to set easy to guess pins for the lock screen pin.''',
9029 'tags': [], 9029 'tags': [],
9030 'desc': '''If this is set to true users cannot set easy to guess pins for the lock screen pin. Such pins include pins whose digits are all the same number , or are increasing. ''', 9030 'desc': '''If this is set to true users cannot set easy to guess pins for the lock screen pin. Such pins include pins whose digits are all the same number , or are increasing. ''',
9031 }, 9031 },
9032 {
9033 'name': 'ScreenUnlockWhitelist',
9034 'type': 'list',
9035 'schema': {
9036 'type': 'array',
9037 'items': { 'type': 'string' },
9038 },
9039 'supported_on': ['chrome_os:55-'],
9040 'features': {
9041 'dynamic_refresh': True,
9042 'per_profile': True,
9043 },
9044 'example_value': ['password'],
jdufault 2016/10/04 23:26:21 Is 'password' a valid entry here? Should these pol
sammiequon 2016/10/18 22:47:49 Yeah password was on the doc. Done the renaming.
9045 'id': 350,
9046 'caption': '''Enable methods for unlocking the lock screen.''',
9047 'tags': [],
9048 'desc': ''' This policy sets which methods can be used to unlock the lock screen. All means all avaliable methods can be used, otherwise only the specifie d chosen methods may be used. ''',
9049 },
9050 {
9051 'name': 'ScreenUnlockPasswordConfirmationFrequency',
9052 'type': 'int-enum',
9053 'schema': {
9054 'type': 'integer',
9055 'enum': [ 0, 1, 2, 3 ],
9056 },
9057 'items': [
9058 {
9059 'name': 'SixHours',
9060 'value': 0,
9061 'caption': '''Enter password every six hours to continue using quick u nlock.''',
9062 },
9063 {
9064 'name': 'TweleveHours',
9065 'value': 1,
9066 'caption': '''Enter password every twelve hours to continue using quic k unlock.''',
9067 },
9068 {
9069 'name': 'Day',
9070 'value': 2,
9071 'caption': '''Enter password every day to continue using quick unlock. ''',
9072 },
9073 {
9074 'name': 'Week',
9075 'value': 3,
9076 'caption': '''Enter password every week to continue using quick unlock .''',
9077 },
9078 ],
9079 'supported_on': ['chrome_os:55-'],
9080 'features': {
9081 'dynamic_refresh': True,
9082 'per_profile': True,
9083 },
9084 'example_value': 2,
9085 'id': 351,
9086 'caption': '''Sets how often user has to enter password to use quick unloc k.''',
9087 'tags': [],
9088 'desc': ''' Users have to enter the password into the lock screen every on ce in a while to continue using quick unlock. This policy sents the interval at which the lock screen will request the users password. ''',
9089 },
9032 ], 9090 ],
9033 'messages': { 9091 'messages': {
9034 # Messages that are not associated to any policies. 9092 # Messages that are not associated to any policies.
9035 'win_supported_winxpsp2': { 9093 'win_supported_winxpsp2': {
9036 '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:'.''', 9094 '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:'.''',
9037 'text': '''Microsoft Windows XP SP2 or later''' 9095 'text': '''Microsoft Windows XP SP2 or later'''
9038 }, 9096 },
9039 'mac_chrome_preferences': { 9097 'mac_chrome_preferences': {
9040 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9098 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9041 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9099 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
9155 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9213 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9156 'text': 'Default Settings (users can override)', 9214 'text': 'Default Settings (users can override)',
9157 }, 9215 },
9158 'doc_complex_policies_on_windows': { 9216 'doc_complex_policies_on_windows': {
9159 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9217 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9160 '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>' '', 9218 '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>' '',
9161 }, 9219 },
9162 }, 9220 },
9163 'placeholders': [], 9221 'placeholders': [],
9164 } 9222 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698