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

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

Issue 1936903002: Allow SAML logins to use the webcam (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test case and xml formatting Created 4 years, 7 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: 327 140 # For your editing convenience: highest ID currently used: 328
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 8322 matching lines...) Expand 10 before | Expand all | Expand 10 after
8473 'schema': { 'type': 'boolean' }, 8473 'schema': { 'type': 'boolean' },
8474 'supported_on': ['chrome.*:52-','chrome_os:52-'], 8474 'supported_on': ['chrome.*:52-','chrome_os:52-'],
8475 'features': { 8475 'features': {
8476 'dynamic_refresh': True, 8476 'dynamic_refresh': True,
8477 'per_profile': False, 8477 'per_profile': False,
8478 }, 8478 },
8479 'example_value': True, 8479 'example_value': True,
8480 'tags': [], 8480 'tags': [],
8481 'id': 327, 8481 'id': 327,
8482 }, 8482 },
8483 {
8484 'name': 'LoginVideoCaptureAllowedUrls',
8485 'type': 'list',
8486 'schema': {
8487 'type': 'array',
8488 'items': { 'type': 'string' },
8489 },
8490 'supported_on': ['chrome_os:52-'],
8491 'device_only': True,
8492 'features': {
8493 'dynamic_refresh': True,
8494 },
8495 'example_value': [ "https://example.com" ],
8496 'id': 328,
8497 'caption': '''URLs that will be granted access to video capture devices on SAML login pages''',
8498 'tags': [],
bartfab (slow) 2016/05/02 10:30:29 Nit: Definitely "website-sharing", maybe more?
Kevin Cernekee 2016/05/02 20:02:29 Done.
8499 'desc': '''Patterns in this list will be matched against the security
8500 origin of the requesting URL. If a match is found, access to video
8501 capture devices will be granted on SAML login pages. If no match is
8502 found, access will be automatically denied.'''
bartfab (slow) 2016/05/02 10:30:29 Nit: Document that wildcard patterns are not allow
Kevin Cernekee 2016/05/02 20:02:29 Done.
8503 },
8483 ], 8504 ],
8484 'messages': { 8505 'messages': {
8485 # Messages that are not associated to any policies. 8506 # Messages that are not associated to any policies.
8486 'win_supported_winxpsp2': { 8507 'win_supported_winxpsp2': {
8487 '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:'.''', 8508 '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:'.''',
8488 'text': '''Microsoft Windows XP SP2 or later''' 8509 'text': '''Microsoft Windows XP SP2 or later'''
8489 }, 8510 },
8490 'mac_chrome_preferences': { 8511 'mac_chrome_preferences': {
8491 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 8512 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
8492 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 8513 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
8602 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 8623 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
8603 'text': 'Default Settings (users can override)', 8624 'text': 'Default Settings (users can override)',
8604 }, 8625 },
8605 'doc_complex_policies_on_windows': { 8626 'doc_complex_policies_on_windows': {
8606 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 8627 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
8607 '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>' '', 8628 '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>' '',
8608 }, 8629 },
8609 }, 8630 },
8610 'placeholders': [], 8631 'placeholders': [],
8611 } 8632 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698