projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17119: Merge branch 'master' into 17119-add-filter-groups
[arvados.git]
/
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 81e324a46a6b379e5ec06583410d11ec69fcf5bd..c7ff560773304709b5c93e3f1ff95157abaf3388 100644
(file)
--- 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
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)
def index_pane_list
%w(Recent Help)