Idiom
work both ways
1.
to have both advantages and disadvantages.
Installing the new computer system works both ways – we'll have better control of our business, but we'll lose some of our best workers.
2.
to have a similar or equal effect on each side.
Asking for sacrifices has to work both ways – workers and management both have to accept cuts.