{# Display a table of item names with current ACL rules; allow superusers to update ACL rules. ACL rule updates will fail downstream if superuser lacks admin permission. This template uses DIVs styled as TABLE parts so a FORM can span "table cells". #} {% extends theme("layout.html") %} {% block content %}

{{ _("Item ACLs") }}

{# javascript will toggle show/hide views below #}
{% set button_text = _("Showing all items") %}
{{ _("Number items:") }} {{ number_items }}
{{ _("Item Names") }}
{{ _("ACL") }}
{% for item in items_acls %} {# we mark items using default ACLs with a special class so we can show/hide same with the click of a button #} {% if item['acl_default'] %} {% set default_style = "moin-acl-default" %} {% else %} {% set default_style = "" %} {% endif %}
{{ utils.item_moniker(item, item.fqnames) }}
{% endfor %}
{% endblock %}