From 47edcef87d8f4c2ab35b43d4f11e70e31aa045bc Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Thu, 27 Jun 2013 14:24:53 -0400 Subject: [PATCH] remove "create new api client authorization" button --- apps/workbench/app/models/api_client_authorization.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/workbench/app/models/api_client_authorization.rb b/apps/workbench/app/models/api_client_authorization.rb index 9cf1359b49..af47acc7f2 100644 --- a/apps/workbench/app/models/api_client_authorization.rb +++ b/apps/workbench/app/models/api_client_authorization.rb @@ -2,4 +2,7 @@ class ApiClientAuthorization < ArvadosBase def attribute_editable?(attr) ['expires_at', 'default_owner'].index attr end + def self.creatable? + false + end end -- 2.30.2