diff --git a/src/components/resource-policy/EditPolicyRulesSectionForm.tsx b/src/components/resource-policy/EditPolicyRulesSectionForm.tsx index 843881ab3..78a37ce58 100644 --- a/src/components/resource-policy/EditPolicyRulesSectionForm.tsx +++ b/src/components/resource-policy/EditPolicyRulesSectionForm.tsx @@ -196,8 +196,8 @@ export function EditPolicyRulesSectionForm({ })); setRules([ - ...policy.rules.map((r) => ({ ...r, fromPolicy: true })), - ...resourceSpecific + ...resourceSpecific, + ...policy.rules.map((r) => ({ ...r, fromPolicy: true })) ]); setResourceRulesInitialized(true); }, [