X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f1baf225599d7ae5dec4611696774e6a7100d58..93e0931ea059355ffc26add1303a52f13d2964c9:/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 ac3a9bf8ed..6d1558cc6e 100644 --- a/apps/workbench/app/models/api_client_authorization.rb +++ b/apps/workbench/app/models/api_client_authorization.rb @@ -1,6 +1,6 @@ class ApiClientAuthorization < ArvadosBase - def attribute_editable? attr, *args - ['expires_at', 'default_owner_uuid'].index attr + def editable_attributes + %w(expires_at default_owner_uuid) end def self.creatable? false