Chromium Code Reviews| 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: 234 | 115 # For your editing convenience: highest ID currently used: 235 |
| 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 3909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4035 'caption': '''Timezone''', | 4035 'caption': '''Timezone''', |
| 4036 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead. If an empty string is provided, the polic y is ignored. | 4036 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead. If an empty string is provided, the polic y is ignored. |
| 4037 | 4037 |
| 4038 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users. | 4038 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users. |
| 4039 | 4039 |
| 4040 New devices start out with the timezone set to "US/Pacific". | 4040 New devices start out with the timezone set to "US/Pacific". |
| 4041 | 4041 |
| 4042 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "http://en.wikipedia.org/wiki/List_of_tz_database_time"). In particular, most timezones can be referred to by "continent/large_city" or "ocea n/large_city".''', | 4042 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "http://en.wikipedia.org/wiki/List_of_tz_database_time"). In particular, most timezones can be referred to by "continent/large_city" or "ocea n/large_city".''', |
| 4043 }, | 4043 }, |
| 4044 { | 4044 { |
| 4045 'name': 'SystemUse24HourClock', | |
| 4046 'type': 'main', | |
| 4047 'schema': { 'type': 'boolean' }, | |
| 4048 'supported_on': ['chrome_os:30-'], | |
| 4049 'device_only': True, | |
| 4050 'features': { | |
| 4051 'dynamic_refresh': True, | |
| 4052 }, | |
| 4053 'example_value': True, | |
| 4054 'id': 235, | |
| 4055 'caption': '''Use 24 hour clock by default''', | |
| 4056 'desc': '''Specifies the clock format be used for the device. Users can ov erride clock format for the current session. However, on logout it is set back t o the specified value.''', | |
|
Mattias Nissler (ping if slow)
2013/08/05 18:12:13
Please include a sentence that describes what happ
Alexander Alekseev
2013/08/07 14:13:36
Done.
| |
| 4057 }, | |
| 4058 { | |
| 4045 'name': 'ShowLogoutButtonInTray', | 4059 'name': 'ShowLogoutButtonInTray', |
| 4046 'type': 'main', | 4060 'type': 'main', |
| 4047 'schema': { 'type': 'boolean' }, | 4061 'schema': { 'type': 'boolean' }, |
| 4048 'supported_on': ['chrome_os:25-'], | 4062 'supported_on': ['chrome_os:25-'], |
| 4049 'features': { | 4063 'features': { |
| 4050 'dynamic_refresh': True, | 4064 'dynamic_refresh': True, |
| 4051 'per_profile': True, | 4065 'per_profile': True, |
| 4052 }, | 4066 }, |
| 4053 'example_value': True, | 4067 'example_value': True, |
| 4054 'id': 164, | 4068 'id': 164, |
| (...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5508 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 5522 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 5509 'text': 'deprecated', | 5523 'text': 'deprecated', |
| 5510 }, | 5524 }, |
| 5511 'doc_recommended': { | 5525 'doc_recommended': { |
| 5512 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 5526 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 5513 'text': 'Default Settings (users can override)', | 5527 'text': 'Default Settings (users can override)', |
| 5514 }, | 5528 }, |
| 5515 }, | 5529 }, |
| 5516 'placeholders': [], | 5530 'placeholders': [], |
| 5517 } | 5531 } |
| OLD | NEW |