Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Users are not removed in related tables (i.e. Institution users) if the main user entry is deleted #3265
CKAN Version if known (or site URL)
Please describe the expected behaviour
An user assigned to different organisations / roles should be removed from each group / role if the user is deleted. If not, zombie user entries persist in the system.
Please describe the actual behaviour
The users are not deleted from groups / roles if the main user entry is deleted.
What steps can be taken to reproduce the issue?
Check the relations between main user tables and the related tables. In detail, is the relation a real relational one or not (is the delete flag set or not)?