From a233e2d6c45bdb8bfa169d2c62e277159cd8809b Mon Sep 17 00:00:00 2001 From: eyjhb Date: Fri, 23 Aug 2024 15:21:24 +0200 Subject: [PATCH] gerd.forgejo: fixed admin filter --- machines/gerd/services/forgejo/auth_sources.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/gerd/services/forgejo/auth_sources.nix b/machines/gerd/services/forgejo/auth_sources.nix index a284d96..7f93fe3 100644 --- a/machines/gerd/services/forgejo/auth_sources.nix +++ b/machines/gerd/services/forgejo/auth_sources.nix @@ -35,7 +35,7 @@ let --bind-dn "${config.mine.shared.settings.ldap.bind_dn}" \ --bind-password "$BIND_USERPASS" \ --user-filter '${config.mine.shared.settings.ldap.user_filter "%[1]s"}' \ - --admin-filter '${config.mine.shared.lib.ldap.mkScope (lconfig: llib: llib.mkGroup lconfig.groups.admin)}' \ + --admin-filter '(${config.mine.shared.lib.ldap.mkScope (lconfig: llib: llib.mkGroup lconfig.groups.admin)})' \ --username-attribute ${config.mine.shared.settings.ldap.attr.uid} \ --firstname-attribute ${config.mine.shared.settings.ldap.attr.firstname} \ --surname-attribute ${config.mine.shared.settings.ldap.attr.lastname} \