guardian
guardian copied to clipboard
Approver still see appeal after they got removed from the approver list
Description
After removing an approver from an appeal, they still see that appeal in their approvals list (GetUserApprovals
)
To Reproduce
- Remove an approver from an appeal
- Ask the removed approver to access
GetUserApprovals
orGET /me/approvals
- They will still see the same appeal listed in the response
Proposed Solution
This happens because of soft deletion. Need to update the query to add condition: WHERE deleted_at IS NULL
in list approvals API