{% load i18n %}

{% if misago_user.is_authenticated %} {% blocktrans trimmed with user=misago_user.username context "debug toolbar user acl" %} {{ user }} roles {% endblocktrans %} {% else %} {% trans "Anonymous roles" context "debug toolbar user acl" %} {% endif %}

{% for role in misago_user.get_roles %} {% endfor %}
{% trans "Role" context "debug toolbar user acl" %} {% trans "Permissions" context "debug toolbar user acl" %}
{{ role }} {{ role.permissions }}

{% trans "Current ACL" context "debug toolbar user acl" %}

{% for key, value in misago_acl.items %} {% endfor %}
{% trans "Key" context "debug toolbar user acl" %} {% trans "Value" context "debug toolbar user acl" %}
{{ key }} {{ value }}