policy: split Device into Info and Control
It's useful to let distros and admins set policy differently for device information (for support, inventory, etc) than for actually controlling the device like PIN/PUK unlocks.
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ impl_modem_cdma_get_esn (MMModemCdma *self, DBusGMethodInvocation *context)
|
||||
|
||||
/* Make sure the caller is authorized to get the ESN */
|
||||
if (!mm_modem_auth_request (MM_MODEM (self),
|
||||
MM_AUTHORIZATION_DEVICE,
|
||||
MM_AUTHORIZATION_DEVICE_INFO,
|
||||
context,
|
||||
esn_auth_cb,
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user