A federal judge in Portland delivered an initial victory Tuesday to proponents of a sweeping gun-control measure approved by Oregon voters, allowing a ban on the sale and transfer of new high-capacity magazines to take effect this week while giving law enforcement more time to set up a system for permits that will now be required to buy or transfer a gun.