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

pull/828/merge
ibuler 2017-12-16 17:21:30 +08:00
parent 2f638f5938
commit e1163895e2
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class SystemUserViewSet(IDInFilterMixin, BulkModelViewSet):
"""System user api set, for add,delete,update,list,retrieve resource"""
queryset = SystemUser.objects.all()
serializer_class = serializers.SystemUserSerializer
permission_classes = (IsSuperUser,)
permission_classes = (IsSuperUserOrAppUser,)
class SystemUserUpdateApi(generics.RetrieveUpdateAPIView):