diff --git a/server/api/api.go b/server/api/api.go index 10bc75d5b..4b18a93b6 100644 --- a/server/api/api.go +++ b/server/api/api.go @@ -2547,7 +2547,6 @@ func (a *API) handleDuplicateBoard(w http.ResponseWriter, r *http.Request) { return } - if board.Type == model.BoardTypePrivate { if !a.permissions.HasPermissionToBoard(userID, boardID, model.PermissionViewBoard) { a.errorResponse(w, r.URL.Path, http.StatusForbidden, "", PermissionError{"access denied to board"})