Restrict areas by ranks

There are certain areas in the game where you can only enter if you have a certain rank. Yet people who are new to the game enter these areas without having the rank. It will get annoying when I try to get them out of the area. I want something where if you don’t hold a certain rank, you get blocked by an invisible wall. I would appreciate if this gets added.