summaryrefslogtreecommitdiff
path: root/user/networkmanager/01-org.freedesktop.NetworkManager.rules
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-23 21:46:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-23 21:46:37 +0000
commit43af2c7e412964d1ecbae877f65a087e2abf9fdf (patch)
treea36c830a38cc8d369a53553762f3061f318425d4 /user/networkmanager/01-org.freedesktop.NetworkManager.rules
parentcc29c9098589ed06d7bb30419590142ab15d7dff (diff)
downloadpackages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.tar.gz
packages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.tar.bz2
packages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.tar.xz
packages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.zip
user/networkmanager: Fix PolKit rules
Diffstat (limited to 'user/networkmanager/01-org.freedesktop.NetworkManager.rules')
-rw-r--r--user/networkmanager/01-org.freedesktop.NetworkManager.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/networkmanager/01-org.freedesktop.NetworkManager.rules b/user/networkmanager/01-org.freedesktop.NetworkManager.rules
index e2a753262..a8aea44cb 100644
--- a/user/networkmanager/01-org.freedesktop.NetworkManager.rules
+++ b/user/networkmanager/01-org.freedesktop.NetworkManager.rules
@@ -1,6 +1,6 @@
// Let users in netdev group modify NetworkManager
polkit.addRule(function(action, subject) {
- if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
+ if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 &&
subject.isInGroup("netdev") && subject.active) {
return "yes";
}