From 0c7265de29163ab9c9ba03257d393ce99bb47ff6 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 10 Jun 2013 18:30:12 +0200 Subject: build: new strict & permissive polkit policies in '--with-polkit' The '--with-polkit' configure switch now supports more options than just yes or no: * strict: Active user needs to explicitly authenticate when peforming an operation defined in the Device.Control, Messaging, Location or Contacts interfaces. Polkit policy is set to 'auth_self_keep'. * permissive: Active user doesn't need to explicitly authenticate when peforming an operation defined in the Device.Control, Messaging, Location or Contacts interfaces. Polkit policy is set to 'yes'. * none: don't use polkit. If '--with-polkit' is not given, usage will be automatically decided based on the presence of the Polkit headers in the system (if headers found, strict policy will be applied, otherwise none). Also: * '--with-polkit' is equivalent to '--with-polkit=strict' * '--with-polkit=yes' is equivalent to '--with-polkit=strict' * '--with-polkit=no' is equivalent to '--with-polkit=none' * '--without-polkit' is equivalent to '--with-polkit=none' By default, ModemManager will always apply the strict policy, in order to protect the user from unwanted operations in the modem (e.g. getting the PIN locked forever after wrong PIN/PUK unlock attempts). https://bugzilla.gnome.org/show_bug.cgi?id=701740 --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 43025510..6347d3a4 100644 --- a/.gitignore +++ b/.gitignore @@ -57,6 +57,7 @@ libwmc/tests/test-wmc data/org.freedesktop.ModemManager1.conf data/org.freedesktop.ModemManager1.service data/org.freedesktop.ModemManager1.policy +data/org.freedesktop.ModemManager1.policy.in data/ModemManager.service data/ModemManager.pc data/mm-common.pc -- cgit v1.2.3-70-g09d2