diff --git a/apiserver/apiserver/api/views.py b/apiserver/apiserver/api/views.py index a3c3fcf..200037f 100644 --- a/apiserver/apiserver/api/views.py +++ b/apiserver/apiserver/api/views.py @@ -334,7 +334,7 @@ class SessionViewSet(Base, List, Retrieve, Create, Update): return response - @action(detail=True, methods=['post'], permission_classes=[IsAuthenticated]) + @action(detail=True, methods=['post'], permission_classes=[AllowMetadata | IsAuthenticated]) def email_ical(self, request, pk=None): session = get_object_or_404(models.Session, id=pk) user = self.request.user