A simple question, how to incline a door opening.

Seen this way it looks to me like it’s simply rotating on its z-axis, but if the door is tilted it must rotate along a normal.