{% extends "tasks/base.html" %} {% block title %}Team Access — Staff Panel{% endblock %} {% block topbar_title %}Team Access{% endblock %} {% block topbar_actions %} Manage Roles {% if request.user.is_superuser %} Add User {% endif %} {% endblock %} {% block content %}
Users & Staff Roles
Assign a role to grant task-module permissions. Users need an active staff profile to sign in.
{% for row in access_rows %} {% with u=row.user sp=row.profile %} {% endwith %} {% empty %} {% endfor %}
UserStaff AccessRoleTypeActions
{{ u.get_full_name|default:u.username }}
{{ u.email|default:u.username }}
{% if sp %} {% if sp.is_active %}Active{% else %}Inactive{% endif %} {% else %}No Profile{% endif %} {% if sp and sp.role %}{{ sp.role.name }}{% else %}{% endif %} {% if row.is_client %}Client{% endif %} {% if u.is_superuser %} Superuser{% endif %} Assign Role
No active users.
{% endblock %}