// The desktop's account administers the machine, as root did when the GNOME // session ran as root. With neither logind nor ConsoleKit no process is in an // active session, so no action would grant it its allow_active answer. polkit.addRule(function(action, subject) { if (subject.isInGroup("wheel")) { return polkit.Result.YES; } });