X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/99658f9ca22500e6249a77bae32994599949c76d..51e79a3be745cfd37efc49471ae21a1d54662e7f:/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 9cf1359b49..6d1558cc6e 100644 --- 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 - 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