{# Display a table of items having ACL rules specifying a selected group name. Provide a link to modify the ACL rule of an item (modify item link). Uses jquery TableSort to initialize table sorted by columns 0 and 1, with empty cells always on top. TODO: emptyMin is a better choice than empty-top but requires TableSorter version >= 2.16.2. Current version: XStatic_JQuery.TableSorter-2.14.5.1 See https://mottie.github.io/tablesorter/docs/example-option-sort-empty.html #} {% extends theme("layout.html") %} {% import "utils.html" as utils %} {% block content %}

{{ _("Group ACL Report") }}

{{ _("Group Name") }}: {{ group_name }}

{% for item in group_items %} {% endfor %}
{{ _("Namespace") }} {{ _("Item Names") }} {{ _("read") }} {{ _("write") }} {{ _("create") }} {{ _("destroy") }} {{ _("admin") }}
{{ item['namespace'] }} {%- if item['name'] -%} {{ item['name']|join(', ') }} {%- else -%} Item Id: {{ item['itemid'] }} {%- endif -%} {% if 'read' in item['rights'] %}{{ _("read") }}{% endif %} {% if 'write' in item['rights'] %}{{ _("write") }}{% endif %} {% if 'create' in item['rights'] %}{{ _("create") }}{% endif %} {% if 'destroy' in item['rights'] %}{{ _("destroy") }}{% endif %} {% if 'admin' in item['rights'] %}{{ _("admin") }}{% endif %}
{% endblock %}