public function access() {
    $version = $this->configFactory->get('acm.connector')->get('api_version');
    if (($version === 'v2') && ($this->account->hasPermission('access commerce administration pages'))) {
      return AccessResult::allowed();
    }
    return AccessResult::forbidden();
  }