Add API v2 endpoints to manage cluster workers and the primary WireGuard

This commit is contained in:
Eduardo Silva
2026-11-23 14:29:26 -03:00
parent 2aa740eaaf
commit 9ccb8c58df
10 changed files with 490 additions and 9 deletions
+8
View File
@@ -12,6 +12,7 @@
<th class="text-center"><i class="fas fa-power-off" title="{% trans 'Allow Restart' %}"></i></th>
<th class="text-center"><i class="fas fa-sync" title="{% trans 'Allow Reload' %}"></i></th>
<th class="text-center"><i class="fas fa-download" title="{% trans 'Allow Export' %}"></i></th>
<th class="text-center"><i class="fas fa-server" title="{% trans 'Manage Cluster' %}"></i></th>
<th class="text-center"><i class="far fa-edit"></i></th>
</tr>
</thead>
@@ -64,6 +65,13 @@
<i class="fas fa-times text-danger"></i>
{% endif %}
</td>
<td class="text-center">
{% if key.manage_cluster %}
<i class="fas fa-check text-success"></i>
{% else %}
<i class="fas fa-times text-danger"></i>
{% endif %}
</td>
<td class="text-center" style="width: 1%; white-space: nowrap;">
<a href="/manage_api/v2/manage/?uuid={{ key.uuid }}" title="{% trans 'Edit' %}">
<i class="far fa-edit"></i>