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

delete an user and then add a new user with same id but with diffenent role creates user with old role

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.1
    • 0.6.0
    • admin

    Description

      STR:
      ====
      1. add an user from ranger UI having role ADMIN, let say ( testrangeruser)
      2. then delete this user by making rest call
      3. then add a new user with same username (testrangeruser) but with role USER
      ER:
      newly added user should have role USER
      AR:
      newly added user has role ADMIN
      since while deleting the user , for that user entry into the database is not removed it is still present in x_portal_user and x_portal_user_role table

      Attachments

        Issue Links

        Activity

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

          People

            gautamborad Gautam Borad
            deepakhuawei Deepak Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment