{% extends "package/resource_edit_base.html" %} {% block subtitle %}{{ h.dataset_display_name(pkg) }} - {{ h.resource_display_name(res) }}{% endblock %} {% block page_primary_action %} {% link_for _('Add Resource ACL'), controller='ckanext.resourceauthorizer.controller:ResourceAuthorizerController', action='resource_acl_new', dataset_id=dataset_id, resource_id=resource_id, class_='btn btn-primary', icon='plus-square' %} {% endblock %} {% block primary_content_inner %}

{{ _('{0} acls'.format(acls|length)) }}

{% for acl in acls %} {% if acl.auth_type == "user" %} {% elif acl.auth_type == "org" %} {% endif %} {% endfor %}
{{ _('Authentication Id') }} {{ _('Type') }} {{ _('Permission') }} Action
{{ h.linked_user(acl.auth_id, maxlength=20) }} {{ h.linked_organization(acl.auth_id) }} {{ acl.auth_type }} {{ acl.permission }}
{% endblock %}