Skip to content

Passed

org.eclipse.ditto.things.service.enforcement.ThingCommandEnforcementTest.rejectModifyWithConditionAndNoReadPermissionForAttributes

Took 0.22 sec.

Standard Output

2024-01-30 08:12:51,981 INFO  [] org.eclipse.ditto.base.service.signaltransformer.SignalTransformers - Instantiated the following signal transformers: .
2024-01-30 08:12:52,009 INFO  [rejectModifyWithConditionAndNoReadPermissionForAttributes] org.eclipse.ditto.things.service.enforcement.ThingEnforcerActor - Completed enforcement of message type <things.commands:modifyFeature> with outcome 'failed' and headers: <ImmutableDittoHeaders [{ditto-auth-context={"type":"unspecified","subjects":["dummy:s
...[truncated 634 chars]...
:condition.failed, httpStatus=HttpStatus [code=412, category=CLIENT_ERROR], description='Check if you have sufficient permissions to access the specified resource (READ permission is required).', href=null, dittoHeaders=ImmutableDittoHeaders [{ditto-auth-context={"type":"unspecified","subjects":["dummy:subject","google:subject"]}, ditto-originator=dummy:subject, correlation-id=rejectModifyWithConditionAndNoReadPermissionForAttributes, version=2, condition=eq(attributes/testAttr,"testString")}]]