#{{ r.id }} · {{ r.name }} {% set role_perm_ids = r.permissions | map(attribute='id') | list %}
Permissions {% for action in actions %}{% endfor %} {% for scope in scopes %} {% for action in actions %} {% set key = scope ~ ':' ~ action %} {% if key in perm_map %} {% set p = perm_map[key] %} {% else %} {% endif %} {% endfor %} {% endfor %}
{{ action }}
{{ scope }} —