I’m trying to restore all user date from a backup that the user has created beforehand. Before restoring backup data, the old data is deleted (documents first, then the model itself).
This works fine until I try to delete relationship related model, namely the _RM and the _LinkFields_DM.
In that case, the deletion fails with an “access denied(!) exception”.
All models are imported using the ModelBulkImporter. All other models can be deleted without problems, except said two.
So is there anything that needs to be taken care of before deleting these models, like a particular order or so?