X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/45216b83b108a3c48cdd8b1aaf898ccd93188507..80ada0673ac37cf1d3b70918a214f2ade484ec45:/apps/workbench/app/models/user.rb diff --git a/apps/workbench/app/models/user.rb b/apps/workbench/app/models/user.rb index c1656bde69..9c914776a2 100644 --- a/apps/workbench/app/models/user.rb +++ b/apps/workbench/app/models/user.rb @@ -31,8 +31,8 @@ class User < ArvadosBase super.reject { |k,v| %w(owner_uuid default_owner_uuid identity_url prefs).index k } end - def attribute_editable?(attr) - (not (self.uuid.andand.match(/000000000000000$/) and self.is_admin)) and super(attr) + def attribute_editable? attr, *args + (not (self.uuid.andand.match(/000000000000000$/) and self.is_admin)) and super end def friendly_link_name