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

--- Comment #21 from muddleh...@gmx.net ---
Thanks, Aleksei!

That point me in the right direction. In my case I had to add an additional
rule (see below). I assume that both might be needed, the first one in case you
want to store the connections system-wide and the second for user-only
connections (but I'm not really sure about that).
With the following rules everything works fine now (thanks to everyone here):

cat
/usr/share/polkit-1/rules.d/01-org.freedesktop.NetworkManager.settings.modify.system.rules
 
// Let users in plugdev group modify NetworkManager
polkit.addRule(function(action, subject) {                                      
    if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
subject.isInGroup("plugdev")) {
        return yes";  
 }
if (action.id == "org.freedesktop.NetworkManager.settings.modify.own" &&
subject.isInGroup("plugdev")) {
        return "yes"; }
});

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

Reply via email to