Merge branch '2291-new-keepd-read-blocks'
[arvados.git] / apps / workbench / app / views / users / _show_admin.html.erb
index 6e60b5d64b13ad9122829e05af84b90e056777c4..90afd1132891e3613a49f59d502c87dc1d8fce45 100644 (file)
@@ -5,3 +5,9 @@ account.</p>
 <blockquote>
 <%= button_to "Log in as #{@object.full_name}", sudo_user_url(id: @object.uuid), class: 'btn btn-primary' %>
 </blockquote>
+
+<p>As an admin, you can deactivate and reset this user. This will remove all repository/VM permissions for the user. If you "setup" the user again, the user will have to sign the user agreement again.</p>
+
+<blockquote>
+<%= button_to "Deactivate #{@object.full_name}", unsetup_user_url(id: @object.uuid), class: 'btn btn-primary', confirm: "Are you sure you want to deactivate #{@object.full_name}?"%>
+</blockquote>