Manjaro Translations:Manjaro Polkit Rules/12/en

Translations:Manjaro Polkit Rules/12/en

From Manjaro

/* Allow users of network 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("network")) {
        return polkit.Result.YES;
    }
});
Cookies help us deliver our services. By using our services, you agree to our use of cookies.