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

Unified Diff: chrome/browser/policy/proto/chrome_device_policy.proto

Issue 6825078: [Chrome OS] Add setting for enabling whitelisting to device policy proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change field numbers Created 9 years, 8 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/proto/chrome_device_policy.proto
diff --git a/chrome/browser/policy/proto/chrome_device_policy.proto b/chrome/browser/policy/proto/chrome_device_policy.proto
index a6cdbe323bc69731f740cd9b4352bf34237e764e..3e4e00c658590724967640bb9c97ac6d9b5d8760 100644
--- a/chrome/browser/policy/proto/chrome_device_policy.proto
+++ b/chrome/browser/policy/proto/chrome_device_policy.proto
@@ -17,6 +17,31 @@ message UserWhitelistProto {
repeated string user_whitelist = 1;
}
+message AllowNewUsersProto {
+ // Determines whether we allow arbitrary users to log into the device.
+ // Should default to true.
+ // This interacts with the UserWhitelistProto as follows:
+ // allow_new_users | user_whitelist | user_whitelist_size | anyone can log in
+ //-----------------+----------------+---------------------+------------------
+ // present, true | not present | N/A | Yes
+ //-----------------+----------------+---------------------+------------------
+ // present, true | present | >= 0 | Yes
+ //-----------------+----------------+---------------------+------------------
+ // present, false | not present | N/A | (Broken) Yes
+ //-----------------+----------------+---------------------+------------------
+ // present, false | present | 0 | (Broken) Yes
+ //-----------------+----------------+---------------------+------------------
+ // present, false | present | > 0 | No, W/L enforced
+ //-----------------+----------------+---------------------+------------------
+ // not present | not present | N/A | Yes
+ //-----------------+----------------+---------------------+------------------
+ // not present | present | 0 | Yes
+ //-----------------+----------------+---------------------+------------------
+ // not present | present | > 0 | No, W/L enforced
+ //-----------------+----------------+---------------------+------------------
+ optional bool allow_new_users = 1;
+}
+
message GuestModeEnabledProto {
// Determines if guests are allowed to log in to the device.
// Should default to true.
@@ -47,6 +72,7 @@ message ChromeDeviceSettingsProto {
optional UserWhitelistProto user_whitelist = 2;
optional GuestModeEnabledProto guest_mode_enabled = 3;
optional DeviceProxySettingsProto device_proxy_settings = 4;
- optional ShowUserNamesOnSigninProto show_user_names = 5;
- optional DataRoamingEnabledProto data_roaming_enabled = 6;
+ optional ShowUserNamesOnSigninProto show_user_names = 6;
+ optional DataRoamingEnabledProto data_roaming_enabled = 7;
+ optional AllowNewUsersProto allow_new_users = 8;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698