add inspection of the object to has_change_permission and has_delete_permission