fix missing perms on Tags

This commit is contained in:
Michael Shamoon 2022-12-09 09:29:31 -08:00
parent 1adb5e724d
commit f846c2934c

View File

@ -255,7 +255,7 @@ class ColorField(serializers.Field):
return 1
class TagSerializerVersion1(MatchingModelSerializer):
class TagSerializerVersion1(MatchingModelSerializer, OwnedObjectSerializer):
colour = ColorField(source="color", default="#a6cee3")
@ -271,6 +271,9 @@ class TagSerializerVersion1(MatchingModelSerializer):
"is_insensitive",
"is_inbox_tag",
"document_count",
"owner",
"permissions",
"set_permissions",
)