mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-27 07:06:03 +01:00
Add API v2 endpoints to manage cluster workers and the primary WireGuard
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.2.19 on 2026-11-23 17:21
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api_v2', '0002_alter_apikey_allow_export_alter_apikey_allow_reload_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='apikey',
|
||||
name='manage_cluster',
|
||||
field=models.BooleanField(default=False, help_text='Allows enabling and disabling cluster workers and WireGuard on the primary server.', verbose_name='Manage Cluster'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user