X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edd49e85823079d6de19cbc9f89c6abc0568382b..60ecfde65c0da38a62fba10a775f359eceba6fb5:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index aee000a97..51dcb4f92 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -111,34 +111,38 @@ <% end %> - <% if current_user and current_user.administrator? %> + <% if can?(:set_status, User) || can?(:delete, User) %> <% end %>