feat: mlogbw patch权限
This commit is contained in:
parent
aa07c041fb
commit
09a7c64b3c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue