Commit e1163895 authored by ibuler's avatar ibuler

[Update] 系统用户api允许app user获取

parent 2f638f59
...@@ -110,7 +110,7 @@ class SystemUserViewSet(IDInFilterMixin, BulkModelViewSet): ...@@ -110,7 +110,7 @@ class SystemUserViewSet(IDInFilterMixin, BulkModelViewSet):
"""System user api set, for add,delete,update,list,retrieve resource""" """System user api set, for add,delete,update,list,retrieve resource"""
queryset = SystemUser.objects.all() queryset = SystemUser.objects.all()
serializer_class = serializers.SystemUserSerializer serializer_class = serializers.SystemUserSerializer
permission_classes = (IsSuperUser,) permission_classes = (IsSuperUserOrAppUser,)
class SystemUserUpdateApi(generics.RetrieveUpdateAPIView): class SystemUserUpdateApi(generics.RetrieveUpdateAPIView):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment