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

--- Comment #22 from Aleksei <alexo....@gmail.com> ---
(In reply to muddlehead from comment #21)
> 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"; }
> });

FYI, there is another example at a wiki page
https://wiki.gentoo.org/wiki/NetworkManager#Fixing_nm-applet_insufficient_privileges

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

Reply via email to