Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-205

Delete rest api of User not deleting user completely from system

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.5.1, 0.6.0
    • None
    • None

    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gautamborad Gautam Borad
            hanish.bansal.agarwal Hanish Bansal
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment