Fixed avoid duplicated client permission insert