summaryrefslogtreecommitdiff
path: root/source/xap/blueman/30-blueman-netdev-allow-access.rules
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/blueman/30-blueman-netdev-allow-access.rules')
-rw-r--r--source/xap/blueman/30-blueman-netdev-allow-access.rules10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/xap/blueman/30-blueman-netdev-allow-access.rules b/source/xap/blueman/30-blueman-netdev-allow-access.rules
deleted file mode 100644
index 9ef313c7..00000000
--- a/source/xap/blueman/30-blueman-netdev-allow-access.rules
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Allow users in netdev 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("netdev")) {
- return polkit.Result.YES;
- }
-});