diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2021-07-22 21:02:46 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2021-07-22 21:02:46 -0500 |
commit | 59068642667b2748b2f24d18c58b1d2fdfed7619 (patch) | |
tree | deca4d721637676253ed1270f252f8d389286151 /user/networkmanager/01-org.freedesktop.NetworkManager.rules | |
parent | 4a177049e3d486da3f54d346d63ea80699c08b5b (diff) | |
parent | 50e523c03bbcb6be1298e3dedb0441b7e47ab2eb (diff) | |
download | packages-59068642667b2748b2f24d18c58b1d2fdfed7619.tar.gz packages-59068642667b2748b2f24d18c58b1d2fdfed7619.tar.bz2 packages-59068642667b2748b2f24d18c58b1d2fdfed7619.tar.xz packages-59068642667b2748b2f24d18c58b1d2fdfed7619.zip |
Merge branch 'master' into kpartx
Diffstat (limited to 'user/networkmanager/01-org.freedesktop.NetworkManager.rules')
-rw-r--r-- | user/networkmanager/01-org.freedesktop.NetworkManager.rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user/networkmanager/01-org.freedesktop.NetworkManager.rules b/user/networkmanager/01-org.freedesktop.NetworkManager.rules index d00b26853..a8aea44cb 100644 --- a/user/networkmanager/01-org.freedesktop.NetworkManager.rules +++ b/user/networkmanager/01-org.freedesktop.NetworkManager.rules @@ -1,7 +1,7 @@ -// Let users in plugdev group modify NetworkManager +// Let users in netdev group modify NetworkManager polkit.addRule(function(action, subject) { - if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" && - subject.isInGroup("plugdev") && subject.active) { + if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && + subject.isInGroup("netdev") && subject.active) { return "yes"; } }); |