feat(campaign): govern attachment reuse
This commit is contained in:
@@ -372,6 +372,10 @@
|
||||
],
|
||||
"default": "ask"
|
||||
},
|
||||
"reuse_policy": {
|
||||
"$ref": "#/$defs/attachment_reuse_policy",
|
||||
"description": "Controls whether resolving the same source file more than once is allowed, warned, reviewed, or blocked, with an optional same-recipient or same-message allowance."
|
||||
},
|
||||
"residual_files": {
|
||||
"$ref": "#/$defs/residual_file_disposition"
|
||||
}
|
||||
@@ -1458,6 +1462,25 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"attachment_reuse_policy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"action": {
|
||||
"type": "string",
|
||||
"enum": ["allow", "warn", "review", "block"],
|
||||
"default": "allow",
|
||||
"description": "Action when one resolved source file is used more than once outside the configured allowance. Review creates an explicit, reasoned review decision."
|
||||
},
|
||||
"allow_within": {
|
||||
"type": "string",
|
||||
"enum": ["none", "same_recipient", "same_message"],
|
||||
"default": "none",
|
||||
"description": "Optional exception that permits reuse confined to one recipient or one built message."
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"default": {"action": "allow", "allow_within": "none"}
|
||||
},
|
||||
"residual_file_disposition": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user