Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2821

Add triggers that automatically delete associated data when a user is deleted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: con.hive, core.api
    • Labels:
      None

      Description

      When a user is deleted, Hue doesn't automatically delete the related records in applications like beeswax. This can leave dangling records, which will cause other problems. For example, if a user is deleted with the useradmin app then readded, rendering the beeswax query history for this user might reference the old user id, which will throw a DoesNotExist exception. We should use django signals to make sure these related documents are cleaned up.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erickt Erick Tryzelaar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: