ByteSync icon indicating copy to clipboard operation
ByteSync copied to clipboard

4.3 Validate the invitation recipient identity

Open marwannettour opened this issue 6 months ago • 0 comments

Parent epic: #310

Summary

Ensure the invitation is intended for the local client.

Requirements

  • Check that payload.RecipientClientId matches the current client ID.
  • Reject invitations addressed to another client.
  • Detect mismatches between envelope metadata and internal payload recipient.

Acceptance criteria

  • Invitations for the local client pass validation.
  • Invitations for another client fail.
  • Envelope/payload recipient mismatches fail.

marwannettour avatar May 19 '26 12:05 marwannettour