How can I make a wall which one type of pawn can pass through, but not another

I am making a game where I need to place walls which enemies can pass through, but the player can not. I have set up a collision channel for both, but when I select overlap/ignore on a static mesh, they still cannot pass through.

How can I make a wall which one type of pawn can pass through, but not another?

Like this:

:)