diff --git a/app/api/views.py b/app/api/views.py index e2cce489..00d93c9a 100644 --- a/app/api/views.py +++ b/app/api/views.py @@ -26,6 +26,7 @@ from .utils import JSONPainter, CSVPainter IsInProjectReadOnlyOrAdmin = (IsAnnotatorAndReadOnly | IsAnnotationApproverAndReadOnly | IsProjectAdmin) IsInProjectOrAdmin = (IsAnnotator | IsAnnotationApprover | IsProjectAdmin) + class Me(APIView): permission_classes = (IsAuthenticated,)