Closed evinku closed 2 years ago
I guess the operator needs to be informed about the decline, so company B can receive the info about it
I guess that's not possible with the current demonstrator setup since there is no way to tell if a response really originates from the holder of the product (company A in this case). A malicious company M could just send a decline message to the operator and the operator couldn't figure out if the message was sent from company A or M.
My Idea here would be (which we should do anyways) to add a timeout for product requests. If there is no valid response to a product request after some time, the response flag would be set to true. We could also think about an additional flag to distinguish between success or fail.
Think about it like an email. You send an email to someone to get some information. The only thing you can do then is to wait for the response and mark it as "lost" or "unanswered" after some time.
If I create a product details request from Company B (For a Company A product) and then decline the request in Company A, then only the product details request for A is set to responded: true. My product details request for B is still responded: false.