X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da51b9328abab2df757ed13eadc7c3557315094b..d63eaa465e157dd289a80738c5da83edaf03e784:/apps/workbench/app/controllers/api_client_authorizations_controller.rb diff --git a/apps/workbench/app/controllers/api_client_authorizations_controller.rb b/apps/workbench/app/controllers/api_client_authorizations_controller.rb index 81e324a46a..c7ff560773 100644 --- a/apps/workbench/app/controllers/api_client_authorizations_controller.rb +++ b/apps/workbench/app/controllers/api_client_authorizations_controller.rb @@ -1,10 +1,8 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class ApiClientAuthorizationsController < ApplicationController - def index - @objects = model_class.all.to_ary.reject do |x| - x.api_client_id == 0 or (x.expires_at and x.expires_at < Time.now) rescue false - end - super - end def index_pane_list %w(Recent Help)