This allows external-plugin menu items to conditionally be added to the UI depending on the logged in users current role.