feat: mlogbw patch权限

This commit is contained in:
caoqianming 2025-12-25 14:29:22 +08:00
parent aa07c041fb
commit 09a7c64b3c
1 changed files with 1 additions and 1 deletions

View File

@ -1074,7 +1074,7 @@ class BatchStViewSet(CustomListModelMixin, ComplexQueryMixin, CustomGenericViewS
class MlogbwViewSet(CustomModelViewSet):
perms_map = {"get": "*", "post": "mlog.update", "put": "mlog.update", "delete": "mlog.update"}
perms_map = {"get": "*", "post": "mlog.update", "put": "mlog.update", "delete": "mlog.update", "patch": "mlog.update"}
queryset = Mlogbw.objects.all()
serializer_class = MlogbwCreateUpdateSerializer
list_serializer_class = MlogbwListSerializer