{% extends "layout-unfold1.html" %} {% block head %} {% endblock %} {% block unfold_main %}

Pending requests


My authorities

{% if my_authorities %} {% for authority, requests in my_authorities.items %}

{{authority}}

{% for request in requests %} {% endfor %}
type id details timestamp status
{% if request.allowed == 'allowed' %} {% else %} {% if request.allowed == 'expired' %} expired {% else %} {# denied #} denied {% endif %} {% endif %} {{ request.type }} {{ request.id }} {% if request.type == 'user' %} Login: {{request.login}} -- First name: {{request.first_name}} -- Last name: {{request.last_name}} -- Email: {{request.email}} {% else %} {% if request.type == 'slice' %} Slice name: {{request.slice_name}} -- Number of nodes: {{request.number_of_nodes}} -- Type of nodes: {{request.type_of_nodes}} -- Purpose: {{request.purpose}} {% else %} {# authority #} TODO {% endif %} {% endif %} {{ request.timestamp }}
{% endfor %} {% else %} There is no pending request waiting for validation. {% endif %} {% if delegation_authorities %}

Authorities with delegation

{% for authority, requests in delegation_authorities.items %}

{{authority}}

{% for request in requests %} {% endfor %}
type id details timestamp status
{% if request.allowed == 'allowed' %} {% else %} {% if request.allowed == 'expired' %} expired {% else %} {# denied #} denied {% endif %} {% endif %} {{ request.type }} {{ request.id }} {% if request.type == 'user' %} Login: {{request.login}} -- First name: {{request.first_name}} -- Last name: {{request.last_name}} -- Email: {{request.email}} {% else %} {% if request.type == 'slice' %} Slice name: {{request.slice_name}} -- Number of nodes: {{request.number_of_nodes}} -- Type of nodes: {{request.type_of_nodes}} -- Purpose: {{request.purpose}} {% else %} {# authority #} TODO {% endif %} {% endif %} {{ request.timestamp }}
{% endfor %}
{% endif %}
{% endblock %}