123
This commit is contained in:
1 parent
55266bd79a
commit
38b4f2d634
3 files changed
+1
-8
No files matched your search
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user