projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15138-version-our-documentation'
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
api_client_authorization.rb
diff --git
a/apps/workbench/app/models/api_client_authorization.rb
b/apps/workbench/app/models/api_client_authorization.rb
index ac3a9bf8ed53998adcb1ebfdcc6dc038fdc84136..b78cb286ec80bf7d2ace8cbeaecc55385aeb2608 100644
(file)
--- a/
apps/workbench/app/models/api_client_authorization.rb
+++ b/
apps/workbench/app/models/api_client_authorization.rb
@@
-1,6
+1,10
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class ApiClientAuthorization < ArvadosBase
class ApiClientAuthorization < ArvadosBase
- def
attribute_editable? attr, *arg
s
- ['expires_at', 'default_owner_uuid'].index attr
+ def
editable_attribute
s
+ %w(expires_at default_owner_uuid)
end
def self.creatable?
false
end
def self.creatable?
false