{% extends "base.html" %} {% block title %}Roles{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}

Roles

{{ roles.count }} role{{ roles.count|pluralize }}

{% if request.user.is_admin %}

Create Custom Role

Define a new role for your organization

{% csrf_token %}
{% endif %}

All Roles

System roles cannot be deleted

{% if request.user.is_admin %} {% endif %} {% for r in roles %} {% if request.user.is_admin %} {% endif %} {% empty %} {% endfor %}
Name Slug Type UsersActions
{{ r.name }} {% if r.slug in admin_roles %} System {% endif %} {{ r.slug }} {% if r.slug in admin_roles %} Hardcoded — full access {% else %} Custom — follows rules {% endif %} {{ r.users.count }} {% if not r.is_system %}
{% csrf_token %}
{% else %} Protected {% endif %}
No roles defined
{% endblock %}