| Index: components/policy/resources/policy_templates.json
|
| diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
|
| index 6209b772ef9082b2c521d823b0cdd2ae0faea6f6..f4bbea5be38529e90283272d87f1c0a806c60c70 100644
|
| --- a/components/policy/resources/policy_templates.json
|
| +++ b/components/policy/resources/policy_templates.json
|
| @@ -123,7 +123,7 @@
|
| # persistent IDs for all fields (but not for groups!) are needed. These are
|
| # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
|
| # because doing so would break the deployed wire format!
|
| -# For your editing convenience: highest ID currently used: 283
|
| +# For your editing convenience: highest ID currently used: 284
|
| #
|
| # Placeholders:
|
| # The following placeholder strings are automatically substituted:
|
| @@ -7022,6 +7022,21 @@
|
|
|
| If this policy is left not set, it is equivalent to being enabled, see description above.''',
|
| },
|
| + {
|
| + 'name': 'DeviceShutdownAllowed',
|
| + 'type': 'main',
|
| + 'schema': { 'type': 'boolean' },
|
| + 'supported_on': ['chrome_os:41-'],
|
| + 'device_only': True,
|
| + 'features': {
|
| + 'dynamic_refresh': True,
|
| + },
|
| + 'example_value': True,
|
| + 'id': 284,
|
| + 'caption': '''Allow device shutdown''',
|
| + 'desc': '''If this policy is set to true or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will allow the device to be shut down by the user.
|
| + If this policy is set to false, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will not allow the user to shutdown the device. All occurrences of shutdown buttons in the UI will be replaced by reboot buttons.''',
|
| + },
|
| ],
|
| 'messages': {
|
| # Messages that are not associated to any policies.
|
|
|