mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Remove debug printf
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user