Remove debug printf
This commit is contained in:
parent
ae157fbacf
commit
430dcd4340
@ -2,7 +2,6 @@ package api
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"sort"
|
||||
"strconv"
|
||||
@ -631,8 +630,6 @@ func (h *ProcessHandler) SetReport(c echo.Context) error {
|
||||
domain := util.DefaultQuery(c, "domain", "")
|
||||
id := util.PathParam(c, "id")
|
||||
|
||||
fmt.Printf("entering SetReport handler\n")
|
||||
|
||||
if !h.iam.Enforce(ctxuser, domain, "process", id, "write") {
|
||||
return api.Err(http.StatusForbidden, "", "You are not allowed to write this process: %s", id)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user