OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 package enterprise_management; | 9 package enterprise_management; |
10 | 10 |
11 message DevicePolicyRefreshRateProto { | 11 message DevicePolicyRefreshRateProto { |
12 // In milliseconds. | 12 // In milliseconds. |
13 optional int64 policy_refresh_rate = 1; | 13 optional int64 policy_refresh_rate = 1; |
14 } | 14 } |
15 | 15 |
16 message UserWhitelistProto { | 16 message UserWhitelistProto { |
17 repeated string user_whitelist = 1; | 17 repeated string user_whitelist = 1; |
18 } | 18 } |
19 | 19 |
| 20 message AllowNewUsersProto { |
| 21 // Determines whether we allow arbitrary users to log into the device. |
| 22 // Should default to true. |
| 23 // This interacts with the UserWhitelistProto as follows: |
| 24 // allow_new_users | user_whitelist | user_whitelist_size | anyone can log in |
| 25 //-----------------+----------------+---------------------+------------------ |
| 26 // present, true | not present | N/A | Yes |
| 27 //-----------------+----------------+---------------------+------------------ |
| 28 // present, true | present | >= 0 | Yes |
| 29 //-----------------+----------------+---------------------+------------------ |
| 30 // present, false | not present | N/A | (Broken) Yes |
| 31 //-----------------+----------------+---------------------+------------------ |
| 32 // present, false | present | 0 | (Broken) Yes |
| 33 //-----------------+----------------+---------------------+------------------ |
| 34 // present, false | present | > 0 | No, W/L enforced |
| 35 //-----------------+----------------+---------------------+------------------ |
| 36 // not present | not present | N/A | Yes |
| 37 //-----------------+----------------+---------------------+------------------ |
| 38 // not present | present | 0 | Yes |
| 39 //-----------------+----------------+---------------------+------------------ |
| 40 // not present | present | > 0 | No, W/L enforced |
| 41 //-----------------+----------------+---------------------+------------------ |
| 42 optional bool allow_new_users = 1; |
| 43 } |
| 44 |
20 message GuestModeEnabledProto { | 45 message GuestModeEnabledProto { |
21 // Determines if guests are allowed to log in to the device. | 46 // Determines if guests are allowed to log in to the device. |
22 // Should default to true. | 47 // Should default to true. |
23 optional bool guest_mode_enabled = 1; | 48 optional bool guest_mode_enabled = 1; |
24 } | 49 } |
25 | 50 |
26 message ShowUserNamesOnSigninProto { | 51 message ShowUserNamesOnSigninProto { |
27 // Determines if we show pods for existing users on the sign in screen. | 52 // Determines if we show pods for existing users on the sign in screen. |
28 // Should default to true. | 53 // Should default to true. |
29 optional bool show_user_names = 1; | 54 optional bool show_user_names = 1; |
(...skipping 10 matching lines...) Expand all Loading... |
40 optional string proxy_server = 2; | 65 optional string proxy_server = 2; |
41 optional string proxy_pac_url = 3; | 66 optional string proxy_pac_url = 3; |
42 optional string proxy_bypass_list = 4; | 67 optional string proxy_bypass_list = 4; |
43 } | 68 } |
44 | 69 |
45 message ChromeDeviceSettingsProto { | 70 message ChromeDeviceSettingsProto { |
46 optional DevicePolicyRefreshRateProto policy_refresh_rate = 1; | 71 optional DevicePolicyRefreshRateProto policy_refresh_rate = 1; |
47 optional UserWhitelistProto user_whitelist = 2; | 72 optional UserWhitelistProto user_whitelist = 2; |
48 optional GuestModeEnabledProto guest_mode_enabled = 3; | 73 optional GuestModeEnabledProto guest_mode_enabled = 3; |
49 optional DeviceProxySettingsProto device_proxy_settings = 4; | 74 optional DeviceProxySettingsProto device_proxy_settings = 4; |
50 optional ShowUserNamesOnSigninProto show_user_names = 5; | 75 optional ShowUserNamesOnSigninProto show_user_names = 6; |
51 optional DataRoamingEnabledProto data_roaming_enabled = 6; | 76 optional DataRoamingEnabledProto data_roaming_enabled = 7; |
| 77 optional AllowNewUsersProto allow_new_users = 8; |
52 } | 78 } |
OLD | NEW |