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

Verwaltung

Hilfe: Tenants, Projekte, Keys, Personen

{% if a.access.is_platform %}Tenants, Projekte und Keys aller Tenants.{% else %}Projekte und Keys deines Tenants.{% endif %}

{% if new_key %} {% endif %} {% if a.access.is_platform %}

Tenants

{% if t %}
{% if t.locked_since %} {{ t.slug }} gesperrt seit {{ t.locked_since.strftime('%d.%m.%Y') }} {% else %} {% endif %}
{% endif %}
{% endif %} {% if t %}

Projekte in {{ t.slug }}

{% if projects %}
    {% for p in projects %}
  • {{ p.slug }} {{ p.name }}
  • {% endfor %}
{% else %}

Noch keine Projekte.

{% endif %}

Neuer Key

Nichts ausgewählt: alle Projekte des Tenants.

Rollen (lesen haben alle)
{% for role in roles %} {% if a.access.is_platform or role not in ('pub_author', 'pub_reviewer', 'tenant_admin') %} {% endif %} {% endfor %}

Pflichtpakete in {{ t.slug }}

Pflichtpakete kommen bei jedem hugin sync in jedes Repo des Tenants, auch ohne Eintrag in .hugin.yaml, und lassen sich nicht abbestellen. Für wenige Dinge, die überall gelten müssen. Hilfe

{% if mandatory %}
{% for x in mandatory %} {% endfor %}
PaketGilt fürSeit
{{ x.package }} {{ 'alle Tenants' if x.for_all else t.slug }} {{ x.set_at.strftime('%d.%m.%Y') }} {% if a.access.is_platform or not x.for_all %}
{% endif %}
{% else %}

Keine Pflichtpakete.

{% endif %} {% if candidates %}
{% if a.access.is_platform %} {% endif %}
{% endif %}

Personen in {{ t.slug }}

Autoren und Prüfer als Personen mit persönlichem Key (hp_…, 180 Tage). Nur so sind vier Augen nachweisbar; Pakete mit Skripten oder Rechten gehen nur damit.

{% if people %}
{% for x in people %} {% set aktiv = x.keys | selectattr('revoked_since', 'none') | list %} {% endfor %}
NameMailProjektRollenKey läuft ab
{{ x.person.name }}{{ x.person.mail }}{{ x.project or '–' }} {{ x.roles | map('label') | join(', ') or '–' }} {{ aktiv[-1].expires_at.strftime('%d.%m.%Y') if aktiv else '–' }} {% if x.person.locked_since %}gesperrt{% else %}
{% endif %}
{% endif %}
Person anlegen
{% for role in roles %} {% if a.access.is_platform or role not in ('pub_author', 'pub_reviewer', 'tenant_admin') %} {% endif %} {% endfor %}

Keys in {{ t.slug }}

{% for k in keys %} {% endfor %}
NameArtProjektRollenPräfixZuletzt genutzt
{{ k.name }} {{ k.kind | label }} {% if k.kind == 'integration' %}{% for pid in k.projects %}{{ project_names.get(pid, '?') }}{% if not loop.last %}, {% endif %}{% else %}alle{% endfor %}{% else %}{{ project_names.get(k.project_id, '–') }}{% endif %} {{ k.roles | map('label') | join(', ') or '–' }} {{ k.prefix }}… {{ k.last_used | when if k.last_used else 'nie' }} {% if k.revoked_since %}widerrufen {% elif a.access.is_platform or k.kind != 'tenant' %}
{% endif %}
{% endif %} {% endblock %}