ioc: actually require +putorder to PUT

This commit is contained in:
Michael Davidsaver committed 2023-09-19 18:31:29 -07:00
1 parent 9ccd7b50ab
commit c06d4bb69a
8 files changed
+43 -35

No files matched your search

+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) {