projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
hide expired and job-specific auth tokens from workbench list
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
api_client_authorizations_controller.rb
1
class ApiClientAuthorizationsController < ApplicationController
2
def index
3
@objects = model_class.all.to_ary.reject do |x|
4
x.api_client_id == 0 or (x.expires_at and x.expires_at < Time.now) rescue false
5
end
6
super
7
end
8
end