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

Unable to delete user if he has references in new ref tables.

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1, 1.1.1, 1.2.0, 1.2.1
    • 1.0.1, 2.0.0, 1.1.1, 1.2.1
    • Ranger
    • None

    Description

      Created a service/policy from a user. While trying to delete the same user was unable to delete the user as "added_by_id" and "upd_by_id" field having references of user id and due to foreign key constraint ranger doesn't allow user deletion. 

      This is related to RANGER-2203 as policy structure has been changed and new tables are also having "added_by_id" and "upd_by_id".

      Attachments

        Issue Links

        Activity

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

          People

            pradeep Pradeep Agrawal
            pradeep Pradeep Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment