X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c32a63058c9caee42311a6ce5c0f88e5c31816b4..646dcb62fca67b6dd52d8a46fef5fc260baa4b83:/app/views/trace/view.html.erb
diff --git a/app/views/trace/view.html.erb b/app/views/trace/view.html.erb
index 57cc39a08..351c69227 100644
--- a/app/views/trace/view.html.erb
+++ b/app/views/trace/view.html.erb
@@ -54,9 +54,11 @@
-<%= if_user(@trace.user) do %>
+<% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?)%>