[neon/neon/settings/Neon/stable] usr/share/polkit-1/rules.d: use adm group as wheel doesn't exist by default
Carlos De Maine
null at kde.org
Sun May 31 04:36:54 BST 2026
Git commit 8b5e3494018f2ad84b6ce73c0ba16aacd53dcca6 by Carlos De Maine.
Committed on 31/05/2026 at 03:36.
Pushed by carlosdem into branch 'Neon/stable'.
use adm group as wheel doesn't exist by default
(cherry picked from commit 901a80af76713e18c9c8b8732cd917978d79cdab)
M +1 -1 usr/share/polkit-1/rules.d/00-kde-neon-ntp-and-time-zones.rules
M +1 -1 usr/share/polkit-1/rules.d/00-kde-neon-open-firewall-kcm.rules
https://invent.kde.org/neon/neon/settings/-/commit/8b5e3494018f2ad84b6ce73c0ba16aacd53dcca6
diff --git a/usr/share/polkit-1/rules.d/00-kde-neon-ntp-and-time-zones.rules b/usr/share/polkit-1/rules.d/00-kde-neon-ntp-and-time-zones.rules
index 30c7926..ecf69b4 100644
--- a/usr/share/polkit-1/rules.d/00-kde-neon-ntp-and-time-zones.rules
+++ b/usr/share/polkit-1/rules.d/00-kde-neon-ntp-and-time-zones.rules
@@ -2,7 +2,7 @@
// synchronization. This effectively fixes https://bugs.kde.org/show_bug.cgi?id=490899
polkit.addRule(function(action, subject) {
- if ((action.id == "org.freedesktop.timedate1.set-timezone" || action.id == "org.freedesktop.timedate1.set-ntp") && subject.local && subject.active && subject.isInGroup("wheel")) {
+ if ((action.id == "org.freedesktop.timedate1.set-timezone" || action.id == "org.freedesktop.timedate1.set-ntp") && subject.local && subject.active && subject.isInGroup("adm")) {
return polkit.Result.YES;
}
});
diff --git a/usr/share/polkit-1/rules.d/00-kde-neon-open-firewall-kcm.rules b/usr/share/polkit-1/rules.d/00-kde-neon-open-firewall-kcm.rules
index d0a2ae9..a603a11 100644
--- a/usr/share/polkit-1/rules.d/00-kde-neon-open-firewall-kcm.rules
+++ b/usr/share/polkit-1/rules.d/00-kde-neon-open-firewall-kcm.rules
@@ -2,7 +2,7 @@
// to authenticate.
polkit.addRule(function(action, subject) {
- if (action.id == "org.kde.ufw.queryapps" && subject.local && subject.active && subject.isInGroup("wheel")) {
+ if (action.id == "org.kde.ufw.queryapps" && subject.local && subject.active && subject.isInGroup("adm")) {
return polkit.Result.YES;
}
});
More information about the Neon-commits
mailing list