Closed butonic closed 10 hours ago
We can recognize the change for the role, expiration date, and password in a eventsmiddelware
. We could extend the events.LinkUpdated
by the boolean field.
I have tried to return the proper event for the public link update using the link.UpdatePublicShareResponse.Opaque
as a carrier.
User updated the permission. User updated the password. User updated the expiration date.
I faced a few problems, the graph uses the PATH as a PUT no matter what parameter the user changed on UI.
Then graph
calls updatePublicLink
three times and the middleware emits three events...
Expected: it would be nice to know that public link was changed and who did it (in the space context) Actual: no events