mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-27 05:41:15 +00:00
User toggle for webconsole and enhanced filter
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
<th>User Level</th>
|
||||
<th>Peer Groups</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -24,6 +26,16 @@
|
||||
Any
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
{% if user_acl.enable_console %}
|
||||
<i class="fas fa-terminal" title="Console Enabled"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
{% if user_acl.enable_enhanced_filter %}
|
||||
<i class="fas fa-eye-slash" title="Enhanced Filter Enabled"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="width: 1%; white-space: nowrap;">
|
||||
<a href="/user/manage/?uuid={{ user_acl.uuid }}" ><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
<a href="/user/manage/" class="btn btn-primary">Add User</a>
|
||||
<a href="/user/list/" class="btn {% if request.path == '/user/list/' %}btn-outline-primary{% else %}btn-primary{% endif %}">List Users</a>
|
||||
<a href="/user/peer-group/list/" class="btn {% if request.path == '/user/peer-group/list/' %}btn-outline-primary{% else %}btn-primary{% endif %}">List Peer Groups</a>
|
||||
<a href="/user/peer-group/manage/" class="btn btn-primary">Add Peer Group</a>
|
||||
<br><br><br><h5>Warning:</h5>
|
||||
<p>The limitation of Peer Groups for users is implemented. However, in some places, information about other peers may still leak, such as in Console -> wg show or through the endpoint /api/wireguard_status/. In the next version, we will add a fix for this.</p>
|
||||
<a href="/user/peer-group/manage/" class="btn btn-primary">Add Peer Group</a>
|
Reference in New Issue
Block a user