projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
closes #4476
[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 9cf1359b49ebce37d8b3997f7ecf652b2b49bcd6..6d1558cc6eb28438003b2599571679370eb6b845 100644
(file)
--- a/
apps/workbench/app/models/api_client_authorization.rb
+++ b/
apps/workbench/app/models/api_client_authorization.rb
@@
-1,5
+1,8
@@
class ApiClientAuthorization < ArvadosBase
class ApiClientAuthorization < ArvadosBase
- def attribute_editable?(attr)
- ['expires_at', 'default_owner'].index attr
+ def editable_attributes
+ %w(expires_at default_owner_uuid)
+ end
+ def self.creatable?
+ false
end
end
end
end