sources: allow uuid or slug to be used for retrieving a source (#12780)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L.
2025-01-23 12:26:58 +01:00
committed by GitHub
parent ce7e539f59
commit 1ce3dfd17f
8 changed files with 40 additions and 3 deletions

View File

@ -110,6 +110,7 @@ class LDAPSourceViewSet(UsedByMixin, ModelViewSet):
serializer_class = LDAPSourceSerializer
lookup_field = "slug"
filterset_fields = [
"pbm_uuid",
"name",
"slug",
"enabled",