summaryrefslogtreecommitdiff
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
parentcc29c9098589ed06d7bb30419590142ab15d7dff (diff)
downloadpackages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.tar.gz
packages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.tar.bz2
packages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.tar.xz
packages-43af2c7e412964d1ecbae877f65a087e2abf9fdf.zip
user/networkmanager: Fix PolKit rules
-rw-r--r--user/networkmanager/01-org.freedesktop.NetworkManager.rules2
-rw-r--r--user/networkmanager/APKBUILD2
2 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 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";
}
diff --git a/user/networkmanager/APKBUILD b/user/networkmanager/APKBUILD
index 0c3738703..84ca876f8 100644
--- a/user/networkmanager/APKBUILD
+++ b/user/networkmanager/APKBUILD
@@ -97,7 +97,7 @@ b0b85294c19510893ba30cf3d0e1984430c451273d4eb545760de52c69866a5ed0385f9c14a9bc18
5142bf14ac5574a3ae4bc8753055c534702892871ca45a1bc4d48d4d5c07d11bd54e52861458a673c328d129cdd6f1f749a9546eba1c16fea5173f92840506de qsort_r.patch
d81a962e32e696ca713dfcf1f8dbd9a146f94473c391f1977198ca67e11a6d427a265bacbe43197e42b442cfaa882e9fd2bba7548872586d53d3caca76263e79 random.patch
602859c1c7b63984b3b9d9597772e4bff496b3838eb0131ad1d707ae9226c5bdd703080683e48bc93b9c1a6572505dad0332d63c57e6320e63c011931877233a tests.patch
-c6b6c63d9c8c6843eb348dc4baf843a69c4ac66252b656bab8998e56ab9922fedf4396ebd66fac5b968cb5079a0d5b2959d310afa2389d82ac97b644b352ed83 01-org.freedesktop.NetworkManager.rules
+5ae288073ddc818cc5a0103a9320ebcbd80bccbba9f823335c1c602c25e48e041990370e6d091d9796e543222a7a58625ce832022d450b9a9dd49df4ed6e1ed9 01-org.freedesktop.NetworkManager.rules
26f962cea0b6a75549d16c19a71e3559239b08b001927882702f5d9355a2cc95f7b13c581439f758a950d9a5bfb73b86ba61a5ffb22c9abe19f5b05fe5f5834a 10-openrc-status
f8c9331834cbc66ab0e4e6f4a120fde6a08a435d680a1e1087718fdbb2b9843a313e7ec30b7008822999dafd98e152aa7d2a96f87320ba9c91c3adb63e0b7c9a nm.confd
9a5ab7d317797489a555b185d103d3c526cd6963c6586da2f5212b41e68a9bf5dedd52d1fe58718fb686379b6e2434924d06d7da8070a62a3ec3e5626ab90d14 nm.initd"