https://bugs.kde.org/show_bug.cgi?id=360176

--- Comment #18 from Aleksei <alexo....@gmail.com> ---
sorry, my bad

the correct contents follow:

cat
/usr/share/polkit-1/rules.d/01-org.freedesktop.NetworkManager.network-control.rules
 
// Let users in plugdev group control NetworkManager
polkit.addRule(function(action, subject) {
    if (subject.isInGroup("plugdev")) {
        return "yes";
    }
});

I'm not experienced with polkit, probably adding rules to log like:
polkit.addRule(function(action, subject) {
        polkit.log("action=" + action);
        polkit.log("subject=" + subject);
});

can help with this investigation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to