Skip to content

Commit

Permalink
[#2939] Add group button permission check
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 2, 2012
1 parent efbef7d commit b1c03b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckan/templates/group/index.html
Expand Up @@ -7,7 +7,9 @@
{% endblock %}

{% block actions_content %}
<li>{% link_for _('Add Group'), controller='group', action='new', class_='btn', icon='plus' %}</li>
{% if h.check_access('group_create') %}
<li>{% link_for _('Add Group'), controller='group', action='new', class_='btn', icon='plus' %}</li>
{% endif %}
{% endblock %}

{% block primary_content %}
Expand Down

0 comments on commit b1c03b4

Please sign in to comment.