fix: double encoding when bind policy rustfs/console#13

This commit is contained in:
马登山
2025-09-11 09:05:28 +08:00
parent d3c1c4892c
commit 6bd4c94fd6
+1 -1
View File
@@ -118,7 +118,7 @@ const changePolicies = async () => {
try {
await setUserOrGroupPolicy({
policyName: name.value || '',
userOrGroup: encodeURIComponent(props.group.name),
userOrGroup: props.group.name || '',
isGroup: true,
});