OLD | NEW |
---|---|
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 Loading... | |
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: 148 | 115 # For your editing convenience: highest ID currently used: 149 |
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 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1546 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], | 1546 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], |
1547 'features': {'dynamic_refresh': True}, | 1547 'features': {'dynamic_refresh': True}, |
1548 'example_value': 0, | 1548 'example_value': 0, |
1549 'id': 54, | 1549 'id': 54, |
1550 'caption': '''Default geolocation setting''', | 1550 'caption': '''Default geolocation setting''', |
1551 'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked every time a website requ ests the physical location. | 1551 'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked every time a website requ ests the physical location. |
1552 | 1552 |
1553 If this policy is left not set, 'AskGeolocation' will be used and the user will be able to change it.''', | 1553 If this policy is left not set, 'AskGeolocation' will be used and the user will be able to change it.''', |
1554 }, | 1554 }, |
1555 { | 1555 { |
1556 'name': 'DefaultMediaStreamSetting', | |
1557 'type': 'int-enum', | |
1558 'items': [ | |
1559 { | |
1560 'name': 'PromptOnAccess', | |
1561 'value': 1, | |
1562 'caption': '''Ask every time a site wants to access my camera and/ or microphone''' | |
1563 }, | |
1564 { | |
1565 'name': 'BlockAccess', | |
1566 'value': 2, | |
1567 'caption': '''Do not allow any site to access my camera and microp hone''' | |
1568 }, | |
1569 ], | |
1570 'supported_on': ['chrome.*:22-', 'chrome_os:0.22-'], | |
1571 'features': {'dynamic_refresh': True}, | |
1572 'example_value': 2, | |
1573 'id': 149, | |
1574 'caption': '''Default mediastream setting''', | |
1575 'desc': '''Allows you to set whether websites are allowed to get acces s to media capture devices. Access to media capture devices can be allowed by de fault, or the user can be asked every time a website wants to get access to medi a capture devices. | |
1576 | |
1577 If this policy is left not set, 'PromptOnAccess' will be used and the user will be able to change it.''', | |
no longer working on chromium
2012/06/20 17:24:38
To joaodasilva: Done with correcting the version n
| |
1578 }, | |
1579 { | |
1556 'name': 'AutoSelectCertificateForUrls', | 1580 'name': 'AutoSelectCertificateForUrls', |
1557 'type': 'list', | 1581 'type': 'list', |
1558 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], | 1582 'supported_on': ['chrome.*:15-', 'chrome_os:0.15-'], |
1559 'features': {'dynamic_refresh': True}, | 1583 'features': {'dynamic_refresh': True}, |
1560 'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\ \"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"], | 1584 'example_value': ["{\\\"pattern\\\":\\\"https://www.example.com\\\",\\ \"filter\\\":{\\\"ISSUER\\\":{\\\"CN\\\":\\\"certificate issuer name\\\"}}}"], |
1561 'id': 102, | 1585 'id': 102, |
1562 'caption': '''Automatically select client certificates for these sites ''', | 1586 'caption': '''Automatically select client certificates for these sites ''', |
1563 'desc': '''Allows you to specify a list of url patterns that specify s ites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should auto matically select a client certificates, if the site requests a certificate. | 1587 'desc': '''Allows you to specify a list of url patterns that specify s ites for which <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> should auto matically select a client certificates, if the site requests a certificate. |
1564 | 1588 |
1565 If this policy is left not set no auto-selection will be done for any site.''', | 1589 If this policy is left not set no auto-selection will be done for any site.''', |
(...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2803 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 2827 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
2804 'text': 'deprecated', | 2828 'text': 'deprecated', |
2805 }, | 2829 }, |
2806 'doc_recommended': { | 2830 'doc_recommended': { |
2807 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 2831 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
2808 'text': 'Recommended', | 2832 'text': 'Recommended', |
2809 }, | 2833 }, |
2810 }, | 2834 }, |
2811 'placeholders': [], | 2835 'placeholders': [], |
2812 } | 2836 } |
OLD | NEW |