X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/35c50eb231e3ea0f469db136c92ce9bb9d853ac1..8ad5eb9a8f15ab52cab68911121a87ca0971b175:/apps/workbench/app/models/authorized_key.rb diff --git a/apps/workbench/app/models/authorized_key.rb b/apps/workbench/app/models/authorized_key.rb index d84adea44f..9809eef0e3 100644 --- a/apps/workbench/app/models/authorized_key.rb +++ b/apps/workbench/app/models/authorized_key.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class AuthorizedKey < ArvadosBase def attribute_editable?(attr, ever=nil) if (attr.to_s == 'authorized_user_uuid') and (not ever) @@ -8,6 +12,6 @@ class AuthorizedKey < ArvadosBase end def self.creatable? - current_user + false end end