diff --git a/ckan/templates/user/read.html b/ckan/templates/user/read.html index ff49d2d5bc4..1514a41d785 100644 --- a/ckan/templates/user/read.html +++ b/ckan/templates/user/read.html @@ -12,7 +12,9 @@ {% endblock %} {% block actions_content %} -
  • {% link_for _('Edit'), controller='user', action='edit', id=user.name, class_='btn', icon='cog' %}
  • + {% if h.check_access('user_update', user) %} +
  • {% link_for _('Edit'), controller='user', action='edit', id=user.name, class_='btn', icon='cog' %}
  • + {% endif %} {% endblock %} {% block primary_content %} @@ -37,8 +39,13 @@

    {{ user.fullname or _('No full name provided') }}