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

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: 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..259ab6cd2d2bd428489f294cc56061af31d39cd1 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;
gfeher 2011/04/12 16:18:29 Do I understand correctly, that we only need this
Chris Masone 2011/04/12 16:22:39 Essentially, yes. We will use this to persist (an
+}
+
message GuestModeEnabledProto {
// Determines if guests are allowed to log in to the device.
// Should default to true.
@@ -49,4 +74,5 @@ message ChromeDeviceSettingsProto {
optional DeviceProxySettingsProto device_proxy_settings = 4;
optional ShowUserNamesOnSigninProto show_user_names = 5;
optional DataRoamingEnabledProto data_roaming_enabled = 6;
+ optional AllowNewUsersProto allow_new_users = 7;
}
« 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