From 1d572e6bffbbaa5d86436cc1e5fd31ccb54429a5 Mon Sep 17 00:00:00 2001 From: Alon Girmonsky <1990761+alongir@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:05:57 -0800 Subject: [PATCH] support new radius protocol (#1682) --- config/configStruct.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/configStruct.go b/config/configStruct.go index 8e3470e59..6112a52b3 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -59,13 +59,13 @@ func CreateDefaultConfig() ConfigStruct { RoleAttribute: "role", Roles: map[string]configStructs.Role{ "admin": { - Filter: "", - CanDownloadPCAP: true, - CanUseScripting: true, + Filter: "", + CanDownloadPCAP: true, + CanUseScripting: true, ScriptingPermissions: configStructs.ScriptingPermissions{ - CanSave: true, + CanSave: true, CanActivate: true, - CanDelete: true, + CanDelete: true, }, CanUpdateTargetedPods: true, CanStopTrafficCapturing: true, @@ -88,6 +88,7 @@ func CreateDefaultConfig() ConfigStruct { "ws", // "tlsx", "ldap", + "radius", }, }, }