fix: DealOrgPerms missing VisibleLists field — permissions appeared to not save because visible_lists was silently dropped on unmarshal

This commit is contained in:
James 2026-03-17 21:32:06 -04:00
parent 3765adaf55
commit aca4789b6c
1 changed files with 6 additions and 5 deletions

View File

@ -100,6 +100,7 @@ type DealOrgPerms struct {
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.