From b7c0eba1e541599fa302a9d4013d5f05f1b00c0e Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Mon, 27 Nov 2023 17:04:40 +0100 Subject: [PATCH] add extra settings struct --- management/server/account.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/management/server/account.go b/management/server/account.go index 8f9b1e151..bea1886a9 100644 --- a/management/server/account.go +++ b/management/server/account.go @@ -158,6 +158,14 @@ type Settings struct { // JWTGroupsClaimName from which we extract groups name to add it to account groups JWTGroupsClaimName string + + // Extra contains additional settings that are not supported in the open-source version + Extra *ExtraSettings +} + +type ExtraSettings struct { + // PeerApprovalEnabled enables or disables the need for peers to be approved by an administrator + PeerApprovalEnabled bool } // Copy copies the Settings struct