aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-10-10 15:59:30 +0200
committerTaras Madan <tarasmadan@google.com>2024-10-10 15:00:32 +0000
commitd7475276a82f2dbec772bce46ac82ce370fb4bef (patch)
tree720667c753c972c96ead2397dbcd5f777f4b3245
parent8fbfc0c8a015daaf053142a21906315246c7c4fd (diff)
dashboard/app: make lines coverage public
-rw-r--r--dashboard/app/graphs.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/dashboard/app/graphs.go b/dashboard/app/graphs.go
index 501e405da..34dd717cd 100644
--- a/dashboard/app/graphs.go
+++ b/dashboard/app/graphs.go
@@ -246,10 +246,6 @@ func githubTorvaldsLinuxURI(filePath string, rc covermerger.RepoCommit) string {
}
func handleFileCoverage(c context.Context, w http.ResponseWriter, r *http.Request) error {
- accessLevel := accessLevel(c, r)
- if accessLevel != AccessAdmin {
- return ErrAccess
- }
hdr, err := commonHeader(c, r, w, "")
if err != nil {
return err