Solved other refactoring bugs and optimized docker role template

This commit is contained in:
2025-07-06 19:54:51 +02:00
parent ea9cc07112
commit 5919f49741
10 changed files with 74 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ def build_ldap_role_entries(applications, users, ldap):
group_id = application_config.get("group_id")
user_dn_base = ldap["dn"]["ou"]["users"]
ldap_user_attr = ldap["attributes"]["user_id"]
ldap_user_attr = ldap["user"]["attributes"]["id"]
role_dn_base = ldap["dn"]["ou"]["roles"]
flavors = ldap.get("rbac", {}).get("flavors", [])