Closed mbmadaj closed 8 years ago
The deletion process works as expected, when I call for 2nd time deletion of just deleted user I receive error that user was not found.
Got it.
We also have multiple bugs with other security routes, like updateRole, updateProfile and updateUser, as they don't provide the updated document in the response.
Check out the securityRoutesFixes
branch. Implementation is finished, I'm now working on the unit tests.
The pull request fixing this issue has been merged on the develop
branch and the master
will be updated soon.
When I deleteUser I do no get result with id of deleted object.
Easily reproducible, with JS SDK as example:
When I call directly deleteUser with query
Probable reason, in response empty {} is returned https://github.com/kuzzleio/kuzzle/blob/ce5415b998537ac85975d83d398a701373e8b40a/lib/api/controllers/securityController.js#L333