blob: 2bfcf6916fa54a93e2486e3f282e3407261b26b1 (
plain)
1
2
3
4
5
6
7
|
/* Allow users in wheel group to run commands without authentication */
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.policykit.exec" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
|