Merge pull request #3212 from e1mo/fix-MixedContentTypeError

Fix MixedContentTypeError in add_inbox_tags handler
This commit is contained in:
shamoon 2023-04-27 09:57:46 -07:00 committed by GitHub
commit dccdebd2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ def add_inbox_tags(sender, document=None, logging_group=None, **kwargs):
if document.owner is not None:
tags = get_objects_for_user_owner_aware(
document.owner,
"documents.view_documenttype",
"documents.view_tag",
Tag,
)
else: