fix: 增加mlogb.update权限标识

This commit is contained in:
caoqianming 2024-07-18 14:31:34 +08:00
parent 8d75f3f251
commit 6778af3f07
1 changed files with 1 additions and 1 deletions

View File

@ -479,6 +479,6 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust
class MlogbOutViewSet(UpdateModelMixin, CustomGenericViewSet):
perms_map = {"put": "mlogb.update"}
perms_map = {"put": "mlog.update"}
queryset = Mlogb.objects.filter(material_out__isnull=False)
serializer_class = MlogbOutUpdateSerializer