From f3e5684e425eb85fed68e38fe38eba698e0c8859 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 31 Oct 2016 17:12:42 +0100 Subject: more debugging --- hel.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hel.nix b/hel.nix index a859ca21..6586568c 100644 --- a/hel.nix +++ b/hel.nix @@ -315,7 +315,8 @@ enable = true; extraConfig = '' polkit.addRule(function(action, subject) { - polkit.log("Custom rule got called"); + 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") ) { -- cgit v1.2.3