]> code.delx.au - monosys/blobdiff - etc/polkit-1/rules.d/99-blueman.rules
Remove old stuff
[monosys] / etc / polkit-1 / rules.d / 99-blueman.rules
diff --git a/etc/polkit-1/rules.d/99-blueman.rules b/etc/polkit-1/rules.d/99-blueman.rules
deleted file mode 100644 (file)
index 79c7b6e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Allow users in sudo group to use blueman feature requiring root without authentication */
-polkit.addRule(function(action, subject) {
-    if ((action.id == "org.blueman.network.setup" ||
-         action.id == "org.blueman.dhcp.client" ||
-         action.id == "org.blueman.rfkill.setstate" ||
-         action.id == "org.blueman.pppd.pppconnect") &&
-        subject.isInGroup("sudo")) {
-        return polkit.Result.YES;
-    }
-});