pagopa / interop-be-monorepo

Apache License 2.0
0 stars 2 forks source link

PIN-5368 Revoke delegation #1100

Closed Viktor-K closed 2 weeks ago

Viktor-K commented 4 weeks ago

This PR is part of story PIN-5196 Closes PIN-5368

DESCRIPTION

This PR implements route for Delegation revoke, requirements for delegation revoke :

Test

✅ Integration test

Success Delegation revoked

Screenshot 2024-10-15 at 18 34 52

Fail Delegation is not revokable: it's already revoked or rejected

Screenshot 2024-10-15 at 18 34 25

Fail Delegation is not revokable: requester is not delegator

Screenshot 2024-10-16 at 11 41 24

Fail Delegation not found

Screenshot 2024-10-16 at 18 51 25