heimdall2 icon indicating copy to clipboard operation
heimdall2 copied to clipboard

GroupUser table not properly deleting rows

Open Rlin232 opened this issue 1 year ago • 0 comments

  1. When user is deleted (from admin panel - Users table), we need to remove the user from the GroupUser table
  2. When group is deleted (from admin panel - Groups table), we need to remove all users from the GroupUser table

Currently, deletion of external keys only results in a "null" value being changed for the userId in the row. We need to implement cascade deletes to be triggered when the user and group is delete.

Rlin232 avatar May 10 '23 17:05 Rlin232