Make user_permissions not required

This commit is contained in:
shamoon 2023-03-01 00:33:01 -08:00
parent 020abaf7d6
commit ee7653a8cd

View File

@ -23,6 +23,7 @@ class UserSerializer(serializers.ModelSerializer):
many=True,
queryset=Permission.objects.all(),
slug_field="codename",
required=False,
)
inherited_permissions = serializers.SerializerMethodField()