fix(management): delete OutgoingAccessRequest when the remote proof can not be found - abandoned
This MR fixes the issue, but this bug report uncovered a flaw in our software:
You can replicate this bug as follows:
- Org a creates a service 'a1'
- Org b requests access to the service
- Org a accepts the access request
- Close all browsers which have the management ui of org b open (to prevent triggering the sync call)
- Org a removes service 'a1'
- Org a creates the service 'a1'
- Open the directory ui of org b
- The error toaster will popup.
The flaw: access proofs can be linked to previously created services which have been removed and recreated with the same name.
Issue: #1653 (closed)
Edited by Niels