Apply resource policy and avoid duplicate of policies.