diff --git a/server/services/store/sqlstore/boards_and_blocks.go b/server/services/store/sqlstore/boards_and_blocks.go index 37132aabf..47fe7d1f3 100644 --- a/server/services/store/sqlstore/boards_and_blocks.go +++ b/server/services/store/sqlstore/boards_and_blocks.go @@ -141,6 +141,11 @@ func (s *SQLStore) duplicateBoard(db sq.BaseRunner, boardID string, userID strin if err != nil { return nil, nil, err } + // if original board is template + // make new board private + if board.IsTemplate { + board.Type = "P" + } board.IsTemplate = asTemplate board.CreatedBy = userID