Merge branch '2096-demo-feedback'
[arvados.git] / apps / workbench / app / models / authorized_key.rb
index 62ee83238dae697bfaa72b71d3994d3077b86fde..c018cc56b04051a442b382c4546f9fea0e253bce 100644 (file)
@@ -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)