I don't think this is related to the problem I have, which is the following, but I anyway need this link later.
I didn't assign any class permission to a user X for the model Y through the admin panel to delete an object, but I've overwritten the following in my `ModelAdmin` class for the model Y:
def has_add_permission(self, request):
return True
def has_change_permission(self, request, obj=None):
return True
def has_delete_permission(self, request, obj=None):
return True
def has_module_permission(self, request):
return True
This doesn't let the user X to delete a model Y instance, and I think the reason is here: