X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b76f2e97b6f2efbe5e524776a6b6a53bbad43448..5b64c43183ede1313ccd7b44425d83a0b496a021:/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 62ee83238d..c018cc56b0 100644 --- a/apps/workbench/app/models/authorized_key.rb +++ b/apps/workbench/app/models/authorized_key.rb @@ -1,6 +1,6 @@ class AuthorizedKey < ArvadosBase def attribute_editable?(attr) - if attr.to_s == 'authorized_user' + if attr.to_s == 'authorized_user_uuid' current_user and current_user.is_admin else super(attr)