1 2 3 4 5
polkit.addRule(function (action, subject) { if (subject.isInGroup("wheel")) { return polkit.Result.YES; } });