Merge pull request #3718 from modoboa/fix/allow_notifs_to_all

All users should be allowed to check for notifications
This commit is contained in:
Antoine Nguyen
2025-09-10 10:18:21 +02:00
committed by GitHub
+3 -1
View File
@@ -157,7 +157,9 @@ class ComponentsInformationAPIView(APIView):
class NotificationsAPIView(APIView):
"""Return list of active notifications."""
permission_classes = [permissions.IsAuthenticated, IsSuperUser]
permission_classes = [
permissions.IsAuthenticated,
]
throttle_classes = [UserLesserDdosUser]
@extend_schema(responses=serializers.NotificationSerializer(many=True))