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