Hi,
I've looked at issue #7 and I'm not sure if it solves my issue, or if my case is more complex.
Given entities Transport Order, Company, User and Application.
A Transport Order is created by and "belongs to" a Producer Company. It is consumed by Consumer Companies. It maintains a m2m "consumers" relationship with companies.
Users are employees of the companies
Consumer companies only wish to be notified about updates/ deletes to Transport Orders they consume.
Applications are OAuth apps created by developers, to act on behalf of Users.
Ideal Flow
-
Application on behalf of an employee of a consumer company registers a subscription to transport_order.change.
-
Producer company edits an order consumed by the consumer company
-
Consumer company's webhook is hit by the change, and not with changes to orders it does not subscribe to.
I don't think the sender_field is advanced enough to handle this, but hopefully I'm wrong?
Hi,
I've looked at issue #7 and I'm not sure if it solves my issue, or if my case is more complex.
Given entities Transport Order, Company, User and Application.
A Transport Order is created by and "belongs to" a Producer Company. It is consumed by Consumer Companies. It maintains a m2m "consumers" relationship with companies.
Users are employees of the companies
Consumer companies only wish to be notified about updates/ deletes to Transport Orders they consume.
Applications are OAuth apps created by developers, to act on behalf of Users.
Ideal Flow
Application on behalf of an employee of a consumer company registers a subscription to transport_order.change.
Producer company edits an order consumed by the consumer company
Consumer company's webhook is hit by the change, and not with changes to orders it does not subscribe to.
I don't think the sender_field is advanced enough to handle this, but hopefully I'm wrong?