aboutsummaryrefslogtreecommitdiff
path: root/internal/authz/middleware.go
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2024-03-02 15:03:46 -0800
committerMax Resnick <max@ofmax.li>2024-03-02 15:03:46 -0800
commit11e393cbc6e7be6757ec8d92cb37ea9e14ed8c9d (patch)
tree453fbdcf13ba1a8252f843641fb60319f670549c /internal/authz/middleware.go
parent9fe8f31ae379d4b30823f3c4f19842bf32aae034 (diff)
downloadgo-git-server-11e393cbc6e7be6757ec8d92cb37ea9e14ed8c9d.tar.gz
feat: refactor some tests and policies.
Diffstat (limited to 'internal/authz/middleware.go')
-rw-r--r--internal/authz/middleware.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/authz/middleware.go b/internal/authz/middleware.go
index abebcdb..441240f 100644
--- a/internal/authz/middleware.go
+++ b/internal/authz/middleware.go
@@ -65,7 +65,7 @@ func Authorization(adminSvc *admin.Servicer, next http.Handler) http.Handler {
return
}
if !ok {
- log.Printf("Not Authorized - attempted access %s", urn)
+ log.Printf("Not Authorized - %s attempted access %s", urn, repo)
http.Error(rw, "Access denied", http.StatusForbidden)
return
}