This commit is contained in:
2025-07-31 13:03:24 +03:00
parent 55266bd79a
commit 38b4f2d634
3 changed files with 1 additions and 8 deletions
+1 -3
View File
@@ -27,9 +27,7 @@
enable = true;
extraConfig = ''
polkit.addRule(function(action, subject) {
if ((action.id == "org.gnome.gparted" || // for gnome
action.id == "org.freedesktop.policykit.exec") && // for desktop, nekoray
subject.isInGroup("wheel")){ // for sudo
if (subject.isInGroup("wheel")){ // for sudo
return polkit.Result.YES;
}
});