Skip to content

invoice: cross-tenant GET/PATCH/DELETE returns 403 — same class as #225 (secure-404) #229

@CryptoJones

Description

@CryptoJones

Same class as the 11 prior secure-404 fixes, now on customer-cascade-scoped Invoice (invCustId → Customer.custCompId). Collapse 403 "exists but not yours" into 404. Tests pin via auth.getCompanyIdByCustomerId spy.

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions