mirror of https://github.com/apache/nifi.git
NIFI-12475 Disabled Bypass Validation by Default in PutMongoRecord
- Updated property description to indicate that bypass validation is a Privilege Action that can cause authorization errors. Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8139.
This commit is contained in:
parent
f73888e7dd
commit
ec3da7144c
|
@ -115,9 +115,13 @@ public class PutMongoRecord extends AbstractMongoProcessor {
|
|||
static final PropertyDescriptor BYPASS_VALIDATION = new PropertyDescriptor.Builder()
|
||||
.name("bypass-validation")
|
||||
.displayName("Bypass Validation")
|
||||
.description("Bypass schema validation during insert/upsert")
|
||||
.description("""
|
||||
Enable or disable bypassing document schema validation during insert or update operations.
|
||||
Bypassing document validation is a Privilege Action in MongoDB.
|
||||
Enabling this property can result in authorization errors for users with limited privileges.
|
||||
""")
|
||||
.allowableValues("True", "False")
|
||||
.defaultValue("True")
|
||||
.defaultValue("False")
|
||||
.required(true)
|
||||
.addValidator(StandardValidators.BOOLEAN_VALIDATOR)
|
||||
.build();
|
||||
|
|
Loading…
Reference in New Issue