/* Allow to run Gparted without authentication */ polkit.addRule(function(action, subject) { if (action.id == "org.fedoraproject.pkexec.run-gparted" && subject.isInGroup("users")) { return polkit.Result.YES; } });