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

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: 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..96f2acb7a654c77f60445bcd34cf3eb4631e3490 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:
@@ -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 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 ash 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.
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/mock_user_manager.h » ('j') | chrome/browser/chromeos/login/user_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698