Those who want to get the role based navigation menu working properly should pay special attention to this code line.