X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/99658f9ca22500e6249a77bae32994599949c76d..ce69b2c94aeb8f897f41fbeaabfed3f3c55495d5:/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..ac3a9bf8ed 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 attribute_editable? attr, *args + ['expires_at', 'default_owner_uuid'].index attr + end + def self.creatable? + false end end