From 070249b9d5a6b6e636ceeec6dc59bfab24b95259 Mon Sep 17 00:00:00 2001 From: HuangWeiCen <37464327+HuangWeiCen@users.noreply.github.com> Date: Fri, 7 Jan 2022 16:01:58 +0800 Subject: [PATCH] update default workflow template --- sqle/model/utils.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sqle/model/utils.go b/sqle/model/utils.go index 7d8bc47103..5e52c97326 100644 --- a/sqle/model/utils.go +++ b/sqle/model/utils.go @@ -255,8 +255,9 @@ func (s *Storage) CreateDefaultWorkflowTemplate() error { } if !exist { wt := &WorkflowTemplate{ - Name: DefaultWorkflowTemplate, - Desc: "默认模板", + Name: DefaultWorkflowTemplate, + Desc: "默认模板", + AllowSubmitWhenLessAuditLevel: string(driver.RuleLevelWarn), Steps: []*WorkflowStepTemplate{ { Number: 1,