blob: fb8d54ae1b669f2d9a5ddc9e789abf1857679b8f (
plain)
1
2
3
4
5
6
7
8
|
polkit.addRule(function(action, subject) {
if ((action.id == "org.gtk.vfs.file-operations-helper") &&
subject.local &&
subject.active &&
subject.isInGroup ("wheel")) {
return polkit.Result.YES;
}
});
|