From ee7653a8cdeb7563e7f1b238d5ed6c9b1ad70572 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 1 Mar 2023 00:33:01 -0800 Subject: [PATCH] Make user_permissions not required --- src/paperless/serialisers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/paperless/serialisers.py b/src/paperless/serialisers.py index 63ddb773a..ab41ab67c 100644 --- a/src/paperless/serialisers.py +++ b/src/paperless/serialisers.py @@ -23,6 +23,7 @@ class UserSerializer(serializers.ModelSerializer): many=True, queryset=Permission.objects.all(), slug_field="codename", + required=False, ) inherited_permissions = serializers.SerializerMethodField()