diff --git a/mayan/apps/sources/models.py b/mayan/apps/sources/models.py index a99aae686f..187243153f 100644 --- a/mayan/apps/sources/models.py +++ b/mayan/apps/sources/models.py @@ -103,8 +103,10 @@ class Source(models.Model): document.save() + # TODO: move this to the Document model apply_default_acls(document, user) + # TODO: move this to the Document model if user: document.add_as_recent_document_for_user(user) create_history(HISTORY_DOCUMENT_CREATED, document, {'user': user})