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

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

Issue 2387253002: cros: Added policies for screen unlock. (Closed)
Patch Set: Fixed patch set 15 errors. Created 4 years, 1 month 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: 349 142 # For your editing convenience: highest ID currently used: 351
143 # 143 #
144 # Placeholders: 144 # Placeholders:
145 # The following placeholder strings are automatically substituted: 145 # The following placeholder strings are automatically substituted:
146 # $1 -> Google Chrome / Chromium 146 # $1 -> Google Chrome / Chromium
147 # $2 -> Google Chrome OS / Chromium OS 147 # $2 -> Google Chrome OS / Chromium OS
148 # $3 -> Google Chrome Frame / Chromium Frame 148 # $3 -> Google Chrome Frame / Chromium Frame
149 # $6 is reserved for doc_writer 149 # $6 is reserved for doc_writer
150 # 150 #
151 # Device Policy: 151 # Device Policy:
152 # An additional flag 'device_only' (optional, defaults to False) indicates 152 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 8991 matching lines...) Expand 10 before | Expand all | Expand 10 after
9144 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to 9144 name="PRINTER_UUID">uuid</ph> is optional. If provided, it is used to
9145 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers. 9145 help deduplicate <ph name="ZEROCONF_DISCOVERY">zeroconf</ph> printers.
9146 9146
9147 Printer setup is completed upon the first use of a printer. PPDs are not 9147 Printer setup is completed upon the first use of a printer. PPDs are not
9148 downloaded until the printer is used. After that time, frequently used 9148 downloaded until the printer is used. After that time, frequently used
9149 PPDs are cached. 9149 PPDs are cached.
9150 9150
9151 This policy has no effect on whether users can configure printers on 9151 This policy has no effect on whether users can configure printers on
9152 individual devices. It is intended to be supplementary to the 9152 individual devices. It is intended to be supplementary to the
9153 configuration of printers by individual users.''', 9153 configuration of printers by individual users.''',
9154 } 9154 },
9155 {
9156 'name': 'QuickUnlockModeWhitelist',
9157 'type': 'list',
9158 'schema': {
9159 'type': 'array',
pastarmovj 2016/11/04 10:33:03 Please consult the "ExtensionAllowedTypes" policy
sammiequon 2016/11/06 17:52:52 Done.
9160 'items': { 'type': 'string' },
9161 },
9162 'supported_on': ['chrome_os:56-'],
9163 'features': {
9164 'dynamic_refresh': True,
9165 'per_profile': True,
9166 },
9167 'example_value': ['PIN'],
9168 'id': 351,
9169 'caption': '''Enable methods for unlocking the lock screen.''',
9170 'tags': [],
9171 'desc': '''This policy sets which methods can be used to unlock the lock s creen. All means all available methods can be used, otherwise only the specified chosen methods may be used.''',
9172 },
9173 {
9174 'name': 'QuickUnlockTimeout',
9175 'type': 'int-enum',
9176 'schema': {
9177 'type': 'integer',
9178 'enum': [ 0, 1, 2, 3 ],
9179 },
9180 'items': [
9181 {
9182 'name': 'SixHours',
9183 'value': 0,
9184 'caption': '''Password entry is required every six hours.''',
9185 },
9186 {
9187 'name': 'TweleveHours',
9188 'value': 1,
9189 'caption': '''Password entry is required every twelve hours.''',
9190 },
9191 {
9192 'name': 'Day',
9193 'value': 2,
9194 'caption': '''Password entry is required every day (24 hours).''',
9195 },
9196 {
9197 'name': 'Week',
9198 'value': 3,
9199 'caption': '''Password entry is required every week (168 hours).''',
9200 },
9201 ],
9202 'supported_on': ['chrome_os:56-'],
9203 'features': {
9204 'dynamic_refresh': True,
9205 'per_profile': True,
9206 },
9207 'example_value': 2,
9208 'id': 352,
9209 'caption': '''Sets how often user has to enter password to use quick unloc k.''',
9210 'tags': [],
9211 'desc': '''Users have to enter their password into the lock screen every o nce in a while to continue using quick unlock. This policy sents the interval at which the lock screen will request the users password.''',
pastarmovj 2016/11/04 10:33:03 Again document the default behavior here.
battre 2016/11/04 10:59:36 This description is unclear to me. Let's say I pic
sammiequon 2016/11/06 17:52:52 Done.
sammiequon 2016/11/06 17:52:52 Done.
9212 },
9155 ], 9213 ],
9156 'messages': { 9214 'messages': {
9157 # Messages that are not associated to any policies. 9215 # Messages that are not associated to any policies.
9158 'win_supported_winxpsp2': { 9216 'win_supported_winxpsp2': {
9159 '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:'.''', 9217 '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:'.''',
9160 'text': '''Microsoft Windows XP SP2 or later''' 9218 'text': '''Microsoft Windows XP SP2 or later'''
9161 }, 9219 },
9162 'mac_chrome_preferences': { 9220 'mac_chrome_preferences': {
9163 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9221 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9164 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9222 '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
9278 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9336 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9279 'text': 'Default Settings (users can override)', 9337 'text': 'Default Settings (users can override)',
9280 }, 9338 },
9281 'doc_complex_policies_on_windows': { 9339 'doc_complex_policies_on_windows': {
9282 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9340 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9283 '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>' '', 9341 '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>' '',
9284 }, 9342 },
9285 }, 9343 },
9286 'placeholders': [], 9344 'placeholders': [],
9287 } 9345 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698