{# ============================================================================== # Formeleon - Multi-tenant Form Generator # Author: Björn Runden # Template: admin/users/tenants.html # Description: Manage tenant assignments for a user. # ============================================================================== #} {% extends "base.html" %} {% block title %}Manage Tenants for {{ target_user.name }} - Formeleon{% endblock %} {% block content %}

Manage Tenants for {{ target_user.name }}

Assign or remove tenants from this user's access list.

Back to User
Tenant Assignments
{# Available Tenants #}
Available Tenants

Tenants not yet assigned to this user

{% if all_tenants %}
{% for tenant in all_tenants %} {% if tenant not in user_tenants %}
{{ tenant.name }} {{ tenant.status.value }}
{{ tenant.id }}
{% endif %} {% endfor %}
{% else %}

No tenants available to assign.

{% endif %}
{# Assigned Tenants #}
Assigned Tenants

Tenants currently assigned to this user

{% if user_tenants %}
{% for tenant in user_tenants %}
{{ tenant.name }} {{ tenant.status.value }}
{{ tenant.id }}
{% endfor %}
{% else %}

No tenants assigned to this user.

{% endif %}
Information
  • Admin users have access to all tenants and can manage any user.
  • Tenant Admin users have access only to tenants they are assigned to.
  • Regular users can only access tenants they are explicitly assigned to.
  • Changes to tenant assignments take effect immediately.
{% endblock %}