{% extends "layouts/dashboard.html" %} {% block title %}User management — IILMP{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

User management

Search accounts and manage roles, staff flags, and direct permissions.

Role permissions New user
{% include "components/rims_page_intro.html" with eyebrow="Access control" heading="One directory for every IILMP account." description="Each user has an IILMP role that maps to a Django auth group of the same name. Edit a user to change their role, toggle active or staff status, or grant extra direct permissions on top of the role." %}
Role
{% if request.GET.q or request.GET.role or request.GET.active %} Clear {% endif %}
{% if page_obj.paginator.count %}

{{ page_obj.paginator.count }} account{{ page_obj.paginator.count|pluralize }} {% if request.GET.q or request.GET.role or request.GET.active %} matching filters{% endif %}

{% endif %}
{% for u in page_obj %} {% empty %} {% endfor %}
Email Name Role Status Staff
{% include "components/user_avatar.html" with user=u size="sm" variant="on_light" only %} {{ u.email }} {{ u.get_full_name|default:"—" }} {% if u.get_role_display %} {{ u.get_role_display }} {% else %} {% endif %} {% if u.is_active %} Active {% else %} Inactive {% endif %} {% if u.is_staff %} Staff {% else %} {% endif %} Edit

{% if request.GET.q or request.GET.role or request.GET.active %}No accounts match these filters.{% else %}No user accounts yet.{% endif %}

{% if request.GET.q or request.GET.role or request.GET.active %} Broaden your search, change the role, or clear filters to return to the full list. {% else %} Create the first account to begin issuing IILMP roles. {% endif %}

{% if request.GET.q or request.GET.role or request.GET.active %} Clear filters {% else %} Create first user {% endif %}
{% if page_obj.has_other_pages %}
Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}
{% if page_obj.has_previous %} ← Previous {% endif %} {% if page_obj.has_next %} Next → {% endif %}
{% endif %}
{% endblock %}