New function: check_delete_requires_permission