Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: risk factors (#8007)

p0ny72dbd697b868
diff --git a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
index 05d45f1573..249ae8badf 100644
--- a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
+++ b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts
@@ -60,10 +60,20 @@ const StringFactorList = [
] as const;
const FactorList = {
- DDL: uniq(without([...StringFactorList], "expiration_days", "export_rows")),
+ DDL: uniq(
+ without(
+ [...NumberFactorList, ...StringFactorList],
+ "level",
+ "source",
+ "expiration_days",
+ "export_rows"
+ )
+ ),
DML: uniq(
without(
[...NumberFactorList, ...StringFactorList],
+ "level",
+ "source",
"expiration_days",
"export_rows"
)