修复生产回填审计标识(07-28-ceo-finance-fallback)
这个提交包含在:
@@ -215,12 +215,12 @@ async function execute(options, pool = new Pool({ connectionString: process.env.
|
||||
await client.query(
|
||||
`
|
||||
INSERT INTO audit_logs
|
||||
(request_id, actor_id, action, target_type, target_id, ip_address, user_agent, extra)
|
||||
(id, request_id, actor_id, action, target_type, target_id, ip_address, user_agent, extra)
|
||||
VALUES
|
||||
($1, $2::uuid, 'APPROVAL_RULE_UPDATED', 'approval_rule', $3::uuid, NULL,
|
||||
'controlled-script/07-28-ceo-finance-fallback', $4::jsonb)
|
||||
($1::uuid, $2, $3::uuid, 'APPROVAL_RULE_UPDATED', 'approval_rule', $4::uuid, NULL,
|
||||
'controlled-script/07-28-ceo-finance-fallback', $5::jsonb)
|
||||
`,
|
||||
[requestId, admins[0].id, item.id, JSON.stringify({
|
||||
[crypto.randomUUID(), requestId, admins[0].id, item.id, JSON.stringify({
|
||||
task: "07-28-ceo-finance-fallback",
|
||||
band: item.band,
|
||||
before: item.before,
|
||||
@@ -298,6 +298,7 @@ module.exports = {
|
||||
TARGET_BY_BAND,
|
||||
assertPeopleBaseline,
|
||||
buildRulePlan,
|
||||
execute,
|
||||
getBand,
|
||||
parseArgs,
|
||||
};
|
||||
|
||||
在新工单中引用
屏蔽一个用户