This is my bad design, the toilet door.
This is the picture from the inside.
There is a hinge so the door only opens inwards.
Most of the time, when I want to go out, I was about to open the door when someone from outside opens it, causing it to hit me.
They could not use glass doors or have windows as people outside will be able to see inside. They should have sliding doors so that it will not hit anyone.