fix: 异常值班处理的权限
This commit is contained in:
parent
c179d91ebd
commit
d01bb012b9
|
@ -89,6 +89,7 @@ class SfLogExpViewSet(ListModelMixin, UpdateModelMixin, CustomGenericViewSet):
|
||||||
|
|
||||||
异常值班处理
|
异常值班处理
|
||||||
"""
|
"""
|
||||||
|
perms_map = {'get': '*', 'put': 'sflogexp.update'}
|
||||||
queryset = SfLogExp.objects.all()
|
queryset = SfLogExp.objects.all()
|
||||||
serializer_class = SflogExpSerializer
|
serializer_class = SflogExpSerializer
|
||||||
select_related_fields = ['sflog', 'sflog__mgroup', 'stlog']
|
select_related_fields = ['sflog', 'sflog__mgroup', 'stlog']
|
||||||
|
|
Loading…
Reference in New Issue