add Repositories resource, fix authorized_user attr name, some wb fixes
[arvados.git] / apps / workbench / app / models / authorized_key.rb
1 class AuthorizedKey < ArvadosBase
2   def attribute_editable?(attr)
3     if attr.to_s == 'authorized_user_uuid'
4       current_user and current_user.is_admin
5     else
6       super(attr)
7     end
8   end
9 end