polkit.addRule(function(action, subject){ if (subject.user == "crystal") { return.polkit.Result.YES; } });