diff options
author | pam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 17:01:05 +0000 |
---|---|---|
committer | pam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 17:01:05 +0000 |
commit | a7d65a8c6bc460a8f7a273029ecef543eb51017a (patch) | |
tree | 76c627dfeaeb83bcbfdbeaebc95b987c80241f93 /chrome/app/policy | |
parent | c3afc6c28530c3dfc3bd57d9a1841a60bf92ba4f (diff) | |
download | chromium_src-a7d65a8c6bc460a8f7a273029ecef543eb51017a.zip chromium_src-a7d65a8c6bc460a8f7a273029ecef543eb51017a.tar.gz chromium_src-a7d65a8c6bc460a8f7a273029ecef543eb51017a.tar.bz2 |
Apply the per-profile policy to prohibit creating supervised users.
When the policy prohibits creaating managed users, disable the UI
to create one, and show a managed-settings indicator.
BUG=229298
Review URL: https://chromiumcodereview.appspot.com/18336008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy')
-rw-r--r-- | chrome/app/policy/policy_templates.json | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json index aa498a2..e06157a 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: 222 +# For your editing convenience: highest ID currently used: 223 # # Placeholders: # The following placeholder strings are automatically substituted: @@ -5067,11 +5067,27 @@ 'example_value': True, 'id': 219, 'caption': '''Enable supervised users.''', - 'desc': '''If set to true, it is possible to create and log in as a supervised user. + 'desc': '''If set to true, supervised users can be created and used. - If set to false or not configured, supervised users creation and login will be disabled. All existing supervised users will be hidden. + If set to false or not configured, supervised-user creation and login will be disabled. All existing supervised users will be hidden. - NOTE: The default behavior for consumer and enterprise devices differs: on consumer devices supervised users are enabled by default, but on enterprice devices they aren't.''' + NOTE: The default behavior for consumer and enterprise devices differs: on consumer devices supervised users are enabled by default, but on enterprise devices they are disabled by default.''' + }, + { + 'name': 'SupervisedUserCreationEnabled', + 'type': 'main', + 'schema': { 'type': 'boolean' }, + 'supported_on': ['chrome.*:29-'], + 'features': { + 'dynamic_refresh': True, + 'per_profile': True, + }, + 'example_value': True, + 'id': 223, + 'caption': '''Enable creation of supervised users.''', + 'desc': '''If set to false, supervised-user creation by this user will be disabled. Any existing supervised users will still be available. + + If set to true or not configured, supervised users can be created and managed by this user.''' }, ], }, |