diff --git a/modules/server/containers/data/authentik/ldap.yaml b/modules/server/containers/data/authentik/ldap.yaml index 7534949..905114c 100644 --- a/modules/server/containers/data/authentik/ldap.yaml +++ b/modules/server/containers/data/authentik/ldap.yaml @@ -43,20 +43,3 @@ entries: password: !Env DEFAULT_LDAP_PASSWORD attributes: ak_recovery_immutable: true - - - model: authentik_core.role - state: present - identifiers: - name: "LDAP Search Role" - attrs: - users: - - !Find [authentik_core.user, [username, ldap-service]] - - - model: authentik_core.objectpermission - state: present - identifiers: - permission: !KeyOf authentik_core.permission:codename=search_full_directory,content_type__app_label=authentik_providers_ldap - role: !Find [authentik_core.role, [name, LDAP Search Role]] - attrs: - object_pk: - !Find [authentik_providers_ldap.ldapprovider, [name, ldap-provider]]