From b182b971e0a4ad65f6ba50839fc5c8fc5e340e5d Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Fri, 13 Jun 2025 16:18:44 +0000 Subject: [PATCH] Add flag for root tenancy in auth info for backen apps Signed-off-by: Prabhjot Singh Sethi --- context/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/context/auth.go b/context/auth.go index 06bf4e1..1249809 100644 --- a/context/auth.go +++ b/context/auth.go @@ -28,6 +28,7 @@ type AuthInfo struct { LastName string `json:"family_name,omitempty"` SessionID string `json:"sid,omitempty"` Roles []string `json:"roles,omitempty"` + IsRoot bool `json:"isRoot,omitempty"` } // struct identifier for the context