[neon/neon/settings/Neon/release] 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:37:04 BST 2026


Git commit 7b14bff90f3262c002ca1eb792d9e3de6332ca3d by Carlos De Maine.
Committed on 31/05/2026 at 03:37.
Pushed by carlosdem into branch 'Neon/release'.

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/7b14bff90f3262c002ca1eb792d9e3de6332ca3d

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