mirror of https://github.com/jumpserver/jumpserver
fix: 修改用户密码更新API取消Retrieve权限
parent
f16a9ddb86
commit
fe2d80046c
|
@ -184,7 +184,7 @@ class UserViewSet(CommonApiMixin, UserQuerysetMixin, BulkModelViewSet):
|
||||||
return Response(status=204)
|
return Response(status=204)
|
||||||
|
|
||||||
|
|
||||||
class UserChangePasswordApi(UserQuerysetMixin, generics.RetrieveUpdateAPIView):
|
class UserChangePasswordApi(UserQuerysetMixin, generics.UpdateAPIView):
|
||||||
permission_classes = (IsOrgAdmin,)
|
permission_classes = (IsOrgAdmin,)
|
||||||
serializer_class = serializers.ChangeUserPasswordSerializer
|
serializer_class = serializers.ChangeUserPasswordSerializer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue