diff --git a/apps/wpm/views.py b/apps/wpm/views.py index 8ab2ef18..26578873 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -479,5 +479,6 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust class MlogbOutViewSet(UpdateModelMixin, CustomGenericViewSet): + perms_map = {"put": "mlogb.update"} queryset = Mlogb.objects.filter(material_out__isnull=False) serializer_class = MlogbOutUpdateSerializer \ No newline at end of file