mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
All users should be allowed to check for notifications
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user