{% extends "base.html" %} {% block title %}Roles · {{ app_name }}{% endblock %} {% block body %} {% include "_nav.html" %}

Roles & permissions

Create role

Permissions {% if scopes %} {% 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 }}—
{% else %} No permissions defined. Run the seed script. {% endif %}
{% include "admin/_roles_table.html" %}
{% endblock %}