{% extends "base.html" %} {% block title %}Roles{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}
{{ roles.count }} role{{ roles.count|pluralize }}
Define a new role for your organization
System roles cannot be deleted
| Name | Slug | Type | Users | {% if request.user.is_admin %}Actions | {% endif %}
|---|---|---|---|---|
| {{ 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 request.user.is_admin %}{% if not r.is_system %} {% else %} Protected {% endif %} | {% endif %}
| No roles defined | ||||