mirror of https://github.com/jumpserver/jumpserver
[Update] 系统用户api允许app user获取
parent
2f638f5938
commit
e1163895e2
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue