Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: remove default approval for grant requesting issues (#7045)
boojack0ea7ba56287b
diff --git a/backend/runner/approval/runner.go b/backend/runner/approval/runner.goindex 087469a767..db502a0e0e 100644--- a/backend/runner/approval/runner.go+++ b/backend/runner/approval/runner.go@@ -181,27 +181,6 @@ func (r *Runner) findApprovalTemplateForIssue(ctx context.Context, issue *store.return false, err}- // For grant request, we will use a default approval template(Project owner) if no template is found.- if approvalTemplate == nil && issue.Type == api.IssueGrantRequest {- approvalTemplate = &storepb.ApprovalTemplate{- Flow: &storepb.ApprovalFlow{- Steps: []*storepb.ApprovalStep{- {- Type: storepb.ApprovalStep_ANY,- Nodes: []*storepb.ApprovalNode{- {- Type: storepb.ApprovalNode_ANY_IN_GROUP,- Payload: &storepb.ApprovalNode_GroupValue_{- GroupValue: storepb.ApprovalNode_PROJECT_OWNER,- },- },- },- },- },- },- }- }-payload.Approval = &storepb.IssuePayloadApproval{ApprovalFindingDone: true,ApprovalTemplates: nil,