diff --git a/app/db.sqlite3 b/app/db.sqlite3 index 25ee1a35..c2af20fe 100644 Binary files a/app/db.sqlite3 and b/app/db.sqlite3 differ diff --git a/app/server/api.py b/app/server/api.py index 3c2557f9..4f9372be 100644 --- a/app/server/api.py +++ b/app/server/api.py @@ -146,6 +146,7 @@ class AnnotationsAPI(generics.ListCreateAPIView): project = get_object_or_404(Project, pk=self.kwargs['project_id']) document = project.documents.get(id=self.kwargs['doc_id']) self.queryset = document.get_annotations() + self.queryset = self.queryset.filter(user=self.request.user) return self.queryset