Description
Delete rest api of user is removing entry from x_user table of database and not from x_portal_user table so user get invisible from UI and api return success status.
Due to which if a user is updated to have username/email-id of deleted user, it will error message that this username/email-id already exists.
Also if a new user is created with user-name of deleted user, user get successfully created but his/her details are mapped with deleted user.
Rest apis used are:
DELETE http://<ip>:6080/service/xusers/users/userName/<username>
DELETE http://<ip>:6080/service/xusers/users/<id>
Expected result:
Apis should remove entry from both tables x_user and x_portal_user.
Attachments
Issue Links
- is related to
-
RANGER-806 Ranger cli utility to delete users from Ranger DB
- Resolved
- relates to
-
RANGER-631 audit log is not present for deleting user
- Resolved
-
RANGER-635 delete an user and then add a new user with same id but with diffenent role creates user with old role
- Resolved