Fix: $id_object was not passed by check_is_granted