Skip to content

Passed

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

Took 0.12 sec.

Standard Output

2024-01-30 08:12:57,803 INFO  [] org.eclipse.ditto.base.service.signaltransformer.SignalTransformers - Instantiated the following signal transformers: .
2024-01-30 08:12:57,828 INFO  [] org.eclipse.ditto.things.service.persistence.actors.ThingSupervisorActor - ThingPolicyCreated msg received: <policy:fcd4fa45-f3ef-4f35-9f62-c005a47a76d3>
2024-01-30 08:12:57,829 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:3a3493d6-e92d-42a2-9d61-fb87489f94ac' 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 [{}]]