blob: 9ef313c75bcef8b8f2b53f3d38257ea22836cf8c (
plain) (
tree)
|
|
/* 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;
}
});
|