Skip to content

Passed

org.eclipse.ditto.things.service.enforcement.MultiStageCommandEnforcementTest.createThingWithExplicitPolicyNotAuthorizedBySelf

Took 0.11 sec.

Standard Output

2024-05-17 17:44:36,471 INFO  [] org.eclipse.ditto.base.service.signaltransformer.SignalTransformers - Instantiated the following signal transformers: .
2024-05-17 17:44:36,497 INFO  [] org.eclipse.ditto.things.service.persistence.actors.ThingSupervisorActor - ThingPolicyCreated msg received: <policy:0d60baa9-dde8-4820-a151-c7295acf7d56>
2024-05-17 17:44:36,498 INFO  [] org.eclipse.ditto.things.service.enforcement.ThingEnforcerActor - Completed enforcement of message type <things.commands:create
...[truncated 2496 chars]...
forcement or forwarding to target actor, telling sender: ThingNotModifiableException [message='The Thing with ID 'thing:c8031ee5-edea-42cb-b1c4-50fcbb983195' could not be modified as the requester had insufficient permissions (WRITE is required).', errorCode=things:thing.notmodifiable, httpStatus=HttpStatus [code=403, category=CLIENT_ERROR], description='Check if the ID of your requested Thing was correct and you have sufficient permissions.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]