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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 11499012: Add policy for limiting the session length (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index b9cbf5fc16a6e095c1398bc3bbeeefcd2f0e84eb..4ffd8ed65cafcb2bf4780eb47922678bc0c8615e 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,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: 168
+# For your editing convenience: highest ID currently used: 169
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3748,12 +3748,12 @@
},
'example_value': True,
'id': 164,
- 'caption': '''Add a logout button to the ash system tray''',
- 'desc': '''Adds a logout button to the ash system tray.
+ 'caption': '''Add a logout button to the system tray''',
+ 'desc': '''Adds a logout button to the system tray.
- If enabled, a big, red logout button is shown in the ash system tray while a session is active and the screen is not locked.
+ If enabled, a big, red logout button is shown in the system tray while a session is active and the screen is not locked.
- If disabled or not specified, no big, red logout button is shown in the ash system tray.''',
+ If disabled or not specified, no big, red logout button is shown in the system tray.''',
},
{
'name': 'BuiltInDnsClientEnabled',
@@ -3816,6 +3816,28 @@
If the policy is left not set, users can choose whether the shelf should auto-hide.''',
},
+ {
+ 'name': 'SessionLengthLimit',
+ 'type': 'int',
+ 'schema': { 'type': 'integer' },
+ 'supported_on': ['chrome_os:25-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': 3600000,
+ 'id': 169,
+ 'caption': '''Limit the session length''',
+ 'desc': '''Limit the maximum length of a user session.
+
+ When this policy is set, it specifies the length of time after which a user is automatically logged out, terminating the session. The user is informed about the remaining time by a countdown timer shown in the system tray.
+
+ When this policy is not set, the session length is not limited.
+
+ If you set this policy, users cannot change or override it.
+
+ The policy value should be specified in milliseconds. Values are clamped to a range of 30 seconds to 24 hours.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.

Powered by Google App Engine
This is Rietveld 408576698