Apply token scope to the head fork of .diff and .patch compares

The head fork is checked with the request credential rather than the token owner's full permission, and every refusal returns the same not-found.

Assisted-by: Crush
taigrrcommitted parent 1618a91d73bdf256e99f046e51f5e7b71cdf27d8e482d93Browse files
3 files changed+38−16

Rendering diff…