Stops users with certain roles from accessing the page tree.