upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-26 12:19:06 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-26 12:19:31 +0000
commitb13c6d924f7de5ff34405254b8bb21adf33c78c0 (patch)
tree67f5205d0b01cf9677b8b21fb3dce97954e51e30 /grasp-audit/src
parentfd6b098f41baf8621551f15114c50891642b5872 (diff)
send auth rejection reason to git client via ERR pkt-line
Previously push auth failures returned HTTP 403 which git clients display as a generic transport error. Now they return HTTP 200 with an ERR pkt-line containing the rejection reason (e.g. 'authorisation failed: No state events in purgatory'), which git displays directly. Remove GitError::Unauthorized as it is no longer used. GitError variants now represent only transport/infrastructure failures; app-level rejections use ERR pkt-line responses.
Diffstat (limited to 'grasp-audit/src')
0 files changed, 0 insertions, 0 deletions