fix(security): 403 for all users on private repos #423

Merged
jmiller merged 1 commits from dev into main 2026-06-02 14:57:55 +00:00
+1 -1
View File
@@ -455,7 +455,7 @@ func repoAssignmentLegacy(ctx *Context, data *repoAssignmentPrepareDataStruct) {
return
}
} else {
ctx.NotFound(nil)
ctx.HTTPError(http.StatusForbidden, "You do not have permission to access this repository")
return
}
}