diff --git a/app/views/users/admin_index.html.erb b/app/views/users/admin_index.html.erb index ba9807f..c914f49 100644 --- a/app/views/users/admin_index.html.erb +++ b/app/views/users/admin_index.html.erb @@ -38,8 +38,10 @@ <% end %> - <% b_label = t('helpers.submit.edit')%> - <%= link_to b_label, admin_grant_permissions_user_path(user), :class => "dmp_table_link"%> + <% unless current_user == user %> + <% b_label = t('helpers.submit.edit')%> + <%= link_to b_label, admin_grant_permissions_user_path(user), :class => "dmp_table_link"%> + <% end %> <% end %>