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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1, 1.1.1, 1.2.0, 1.2.1
    • Fix Version/s: 1.0.1, 2.0.0, 1.1.1, 1.2.1
    • Component/s: Ranger
    • Labels:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: