{% extends "base.html" %} {% block title %}Trust - ActingWeb{% endblock %} {% block content %}
← Dashboard

Trust relationships

New trust

{% if trusts %}
{% for t in trusts %} {% set peerid = t.get('peerid', '') if t is mapping else '' %} {% set rel = t.get('relationship', '') if t is mapping else '' %} {% set approved = t.get('approved') if t is mapping else None %} {% set verified = t.get('verified') if t is mapping else None %} {% set approveuri = t.get('approveuri', '') if t is mapping else '' %} {% set peer_uri = (t.get('baseuri') or t.get('peer_identifier') or '') if t is mapping else '' %} {% set client_name = t.get('client_name') if t is mapping else None %} {% set desc = t.get('desc') if t is mapping else None %} {% endfor %}
PeerRelationshipStatus
{{ peerid }} {% if client_name %}
{{ client_name }}
{% endif %} {% if peer_uri %}
{{ peer_uri }}
{% endif %} {% if desc %}
{{ desc }}
{% endif %}
{{ rel }} {% if t is mapping and t.get('has_custom_permissions') %}custom perms{% endif %} {% if approved %}approved{% else %}pending{% endif %} {% if verified %}verified{% endif %}
{% if not approved and approveuri %}
{% endif %} {% if approveuri %}
{% endif %}
{% else %}

No trust relationships yet.

{% endif %}
{% if oauth_clients %}

OAuth2 clients

{% for c in oauth_clients %} {% endfor %}
ClientTypeCreatedStatus
{{ c.get('client_name', '') if c is mapping else '' }}
{{ c.get('client_id', '') if c is mapping else '' }}
{{ c.get('trust_type', '') if c is mapping else '' }} {{ c.get('created_at', '') if c is mapping else '' }} {{ c.get('status', '') if c is mapping else '' }}
{% endif %} {% if trust_connections %}

Connections

{% for conn in trust_connections %} {% endfor %}
PeerEstablished viaCreatedLast connected
{{ conn.get('peerid', '') if conn is mapping else '' }} {{ conn.get('established_via', '') if conn is mapping else '' }} {{ conn.get('created_at', '') if conn is mapping else '' }} {{ conn.get('last_connected_at', '') if conn is mapping else '' }} {% if conn is mapping and conn.get('last_connected_via') %} ({{ conn.get('last_connected_via') }}) {% endif %}
{% endif %} {% endblock %}