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

Side by Side 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: Rebased. Not sure why the patch is not applying - bot source out of sync with ToT? 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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: 168 115 # For your editing convenience: highest ID currently used: 169
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 3683 matching lines...) Expand 10 before | Expand all | Expand 10 after
3809 'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> shelf. 3809 'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> shelf.
3810 3810
3811 If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto -hide. 3811 If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto -hide.
3812 3812
3813 If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide. 3813 If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide.
3814 3814
3815 If you set this policy, users cannot change or override it. 3815 If you set this policy, users cannot change or override it.
3816 3816
3817 If the policy is left not set, users can choose whether the shelf should a uto-hide.''', 3817 If the policy is left not set, users can choose whether the shelf should a uto-hide.''',
3818 }, 3818 },
3819 {
3820 'name': 'SessionLengthLimit',
3821 'type': 'int',
3822 'schema': { 'type': 'integer' },
3823 'supported_on': ['chrome_os:25-'],
3824 'features': {
3825 'dynamic_refresh': True,
3826 'per_profile': False,
3827 },
3828 'example_value': 3600000,
3829 'id': 169,
3830 'caption': '''Limit the session length''',
3831 'desc': '''Limit the maximum length of a user session.
3832
3833 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.
Mattias Nissler (ping if slow) 2012/12/12 10:12:57 s/the the/the/ Remove "ash"? People don't know wha
bartfab (slow) 2012/12/13 16:22:48 "the the" - Done. "ash" - Done. There was one othe
3834
3835 When this policy is not set, the session length is not limited.
3836
3837 If you set this policy, users cannot change or override it.
3838
3839 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''',
3840 },
3819 ], 3841 ],
3820 'messages': { 3842 'messages': {
3821 # Messages that are not associated to any policies. 3843 # Messages that are not associated to any policies.
3822 'win_supported_winxpsp2': { 3844 'win_supported_winxpsp2': {
3823 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 3845 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
3824 'text': '''Microsoft Windows XP SP2 or later''' 3846 'text': '''Microsoft Windows XP SP2 or later'''
3825 }, 3847 },
3826 'mac_chrome_preferences': { 3848 'mac_chrome_preferences': {
3827 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 3849 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
3828 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 3850 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
3911 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 3933 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3912 'text': 'deprecated', 3934 'text': 'deprecated',
3913 }, 3935 },
3914 'doc_recommended': { 3936 'doc_recommended': {
3915 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 3937 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
3916 'text': 'Default Settings (users can override)', 3938 'text': 'Default Settings (users can override)',
3917 }, 3939 },
3918 }, 3940 },
3919 'placeholders': [], 3941 'placeholders': [],
3920 } 3942 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/mock_user_manager.h » ('j') | chrome/browser/chromeos/session_length_limiter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698