If you make something akin to Sokoban why would you use Pathfinding though?
In any case, it´s hard to say what works because I don´t know how your project is set up.
One-ways could be done by checking "if player.X > one-way.X -> Set one-way solid, else set not solid." (This will work for a one-way only allowing you to pass from the left. Other directions need extra checks)