Compare commits

..

No commits in common. "b9a9b8e4692dcc640c2eaa61ce0c46315f49cde1" and "357042279bd9fed656a4eca26f50dead79e829c4" have entirely different histories.

View File

@ -228,7 +228,7 @@ func httpBase(ctx *context.Context) (h *serviceHandler) {
}
if !p.CanAccess(accessMode, unitType) {
ctx.PlainText(http.StatusNotFound, "Repository not found")
ctx.PlainText(http.StatusForbidden, "User permission denied")
return
}
}