mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Make user_permissions not required
This commit is contained in:
parent
020abaf7d6
commit
ee7653a8cd
@ -23,6 +23,7 @@ class UserSerializer(serializers.ModelSerializer):
|
|||||||
many=True,
|
many=True,
|
||||||
queryset=Permission.objects.all(),
|
queryset=Permission.objects.all(),
|
||||||
slug_field="codename",
|
slug_field="codename",
|
||||||
|
required=False,
|
||||||
)
|
)
|
||||||
inherited_permissions = serializers.SerializerMethodField()
|
inherited_permissions = serializers.SerializerMethodField()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user