def METHOD_NAME(func):
  """Makes give function to execute with required approvals granted."""
  @functools.wraps(func)
  def wrapper(*args, **kwargs):  # pylint: disable=missing-docstring
    cls = api_call_router_with_approval_checks.ApiCallRouterWithApprovalChecks
    cls.ClearCache()
    config_overrider = test_lib.ConfigOverrider(
        {"API.DefaultRouter": cls.__name__})
    with config_overrider:
      api_auth_manager.InitializeApiAuthManager()
      func(*args, **kwargs)
  return wrapper