From aca4789b6c915b4e05b4d4808883825310192020 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 17 Mar 2026 21:32:06 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20DealOrgPerms=20missing=20VisibleLists=20?= =?UTF-8?q?field=20=E2=80=94=20permissions=20appeared=20to=20not=20save=20?= =?UTF-8?q?because=20visible=5Flists=20was=20silently=20dropped=20on=20unm?= =?UTF-8?q?arshal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/types.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/types.go b/lib/types.go index 3c3cd20..c43ab9a 100644 --- a/lib/types.go +++ b/lib/types.go @@ -95,11 +95,12 @@ type DealOrgData struct { // DealOrgPerms defines what an org can do in a deal. type DealOrgPerms struct { - Download string `json:"download"` // "full" | "watermark" | "none" - Upload bool `json:"upload"` - AddRequestLists bool `json:"add_request_lists"` - EditRequestLists bool `json:"edit_request_lists"` - FolderAccess string `json:"folder_access"` // "all" | "assigned" + Download string `json:"download"` // "full" | "watermark" | "none" + Upload bool `json:"upload"` + AddRequestLists bool `json:"add_request_lists"` + EditRequestLists bool `json:"edit_request_lists"` + FolderAccess string `json:"folder_access"` // "all" | "assigned" + VisibleLists interface{} `json:"visible_lists,omitempty"` // "all" | []string of entry_ids } // DealOrgMember is a person associated with a deal org.