Option to limit peer count that a normal user can create (#457)

This commit is contained in:
S.J. Louw
2025-06-26 20:17:45 +02:00
committed by GitHub
parent cbf8c5bca9
commit f0be66aea4
3 changed files with 44 additions and 12 deletions

View File

@@ -38,6 +38,7 @@ advanced:
rule_prio_offset: 20000
route_table_offset: 20000
api_admin_only: true
limit_additional_user_peers: 0
database:
debug: false
@@ -215,6 +216,10 @@ Additional or more specialized configuration options for logging and interface c
- **Default:** `true`
- **Description:** If `true`, the public REST API is accessible only to admin users. The API docs live at [`/api/v1/doc.html`](../rest-api/api-doc.md).
### `limit_additional_user_peers`
- **Default:** `0`
- **Description:** Limit additional peers a normal user can create. `0` means unlimited.
---
## Database