#373

Return 404 for private GitHub repositories the caller cannot see

Openjychpwants to merge intofrom
  • Answer user and anonymous callers with 404 Not Found instead of 401 or 403 for a private repository they cannot see, on reads, writes, contents writes and admin routes, so its existence is not confirmed.
  • Keep 403 for callers who can see the repository but lack the permission, and installation token errors unchanged, with regression coverage and docs.

References:

Fixes #372

Activity

5
vercel[bot]2d ago

@jychp is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot]reviewed2d ago
vercel[bot]reviewed1d ago