From af7b6038da0bf23f5648ae15bbd32b10044de19b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 31 Oct 2016 17:16:50 +0100 Subject: no internal group called admin --- hel.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hel.nix') diff --git a/hel.nix b/hel.nix index 6586568c..f7041ff4 100644 --- a/hel.nix +++ b/hel.nix @@ -315,10 +315,8 @@ enable = true; extraConfig = '' polkit.addRule(function(action, subject) { - polkit.log("action.id = ยดยด" + action.id + "``"); - polkit.log("subject.isInGroup(\"admin\") = " + subject.isInGroup("admin")); if ( action.id == "org.freedesktop.systemd1.manage-units" - && subject.isInGroup("admin") + && subject.isInGroup("wheel") ) { return polkit.Result.YES; } -- cgit v1.2.3