ioc: actually require +putorder to PUT

This commit is contained in:
Michael Davidsaver
2023-09-18 11:34:46 -07:00
parent 9ccd7b50ab
commit c06d4bb69a
8 changed files with 43 additions and 35 deletions
+1 -1
View File
@@ -491,7 +491,7 @@ void putGroupField(const Value& value,
const GroupSecurityCache& groupSecurityCache) {
// find the leaf node that the field refers to in the given value
auto leafNode = field.findIn(value);
bool marked = leafNode.isMarked() && field.value;
bool marked = leafNode.isMarked() && field.value && field.info.putOrder!=std::numeric_limits<int64_t>::min();
// If the field references a valid part of the given value then we can send it to the database
if (marked) {