Skip to content

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

fix: don't use lower case in policy parent resource name (#6744)

Liu Jic01fcea85214
diff --git a/frontend/src/store/modules/v1/policy.ts b/frontend/src/store/modules/v1/policy.ts
index 776838b508..9b6ecaf78c 100644
--- a/frontend/src/store/modules/v1/policy.ts
+++ b/frontend/src/store/modules/v1/policy.ts
@@ -110,12 +110,8 @@ export const usePolicyV1Store = defineStore("policy_v1", {
}
try {
const policy = await policyServiceClient.getPolicy(
- {
- name: name.toLowerCase(),
- },
- {
- silent: true,
- }
+ { name },
+ { silent: true }
);
this.policyMapByName.set(policy.name, policy);
return policy;