Index: components/policy/proto/device_management_backend.proto |
diff --git a/components/policy/proto/device_management_backend.proto b/components/policy/proto/device_management_backend.proto |
index 973c1b324de8ac7f5b3971a5027edd9e9c2770c0..cbe42e530ffd5d13e205c2be12997f306dfffbea 100644 |
--- a/components/policy/proto/device_management_backend.proto |
+++ b/components/policy/proto/device_management_backend.proto |
@@ -290,10 +290,13 @@ message PolicyData { |
// anything like that. |
optional int64 timestamp = 2; |
- // The DM token that was used by the client in the HTTP POST header |
- // for authenticating the request. It is included here again so that |
- // the client can verify that the response is meant for them (and not |
- // issued by a replay or man-in-the-middle attack). |
+ // The DM token that was used by the client in the HTTP POST header for |
+ // authenticating the request. It is included here again so that the client |
+ // can verify that the response is meant for them (and not issued by a replay |
+ // or man-in-the-middle attack). |
+ // Note that the existence or non-existence of the DM token is not the correct |
+ // way to determine whether the device is managed. Cf. |management_mode| below |
+ // for details. |
optional string request_token = 3; |
// The serialized value of the actual policy protobuf. This can be |
@@ -368,8 +371,8 @@ message PolicyData { |
// The device is owned locally. The policies are set by the local owner of |
// the device. |
LOCAL_OWNER = 0; |
- // The device is enterprise-managed. The policies come from the enterprise |
- // server. See the comment above for backward compatibility. |
+ // The device is enterprise-managed (either via cloud or through Active |
ljusten (tachyonic)
2017/05/29 12:43:01
Nit: I guess at some point we might support Azure
Thiemo Nagel
2017/05/29 15:07:16
Valid point, I guess. Thanks.
ljusten (tachyonic)
2017/05/30 08:55:10
IMHO, we should rename cloud policy to user policy
Thiemo Nagel
2017/05/30 12:25:06
Note that it's possible to have non-cloud user pol
|
+ // Directory). See the comment above for backward compatibility. |
ENTERPRISE_MANAGED = 1; |
// Obsolete. Don't use. |
OBSOLETE_CONSUMER_MANAGED = 2; |