summaryrefslogtreecommitdiff
path: root/user/networkmanager/01-org.freedesktop.NetworkManager.rules
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-23 20:11:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-23 20:11:31 +0000
commit2ad01b22f76d7536b1b0b954e431d31e1de77d84 (patch)
tree6839ed61b294893c1fe22afe5b89231f039a9097 /user/networkmanager/01-org.freedesktop.NetworkManager.rules
parent39cdc5db3f9bfda29d477076b603040ad287a360 (diff)
downloadpackages-2ad01b22f76d7536b1b0b954e431d31e1de77d84.tar.gz
packages-2ad01b22f76d7536b1b0b954e431d31e1de77d84.tar.bz2
packages-2ad01b22f76d7536b1b0b954e431d31e1de77d84.tar.xz
packages-2ad01b22f76d7536b1b0b954e431d31e1de77d84.zip
user/networkmanager: Use netdev group instead of plugdev
Diffstat (limited to 'user/networkmanager/01-org.freedesktop.NetworkManager.rules')
-rw-r--r--user/networkmanager/01-org.freedesktop.NetworkManager.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/networkmanager/01-org.freedesktop.NetworkManager.rules b/user/networkmanager/01-org.freedesktop.NetworkManager.rules
index d00b26853..e2a753262 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) {
+ subject.isInGroup("netdev") && subject.active) {
return "yes";
}
});