MDL-39865 navigation: 'Profile settings for ...' always displayed
MDL-39865 navigation: 'Profile settings for ...' always displayed

Before this patch, 'Profile settings for X' would only be displayed
if X can access the course, which means that if the course is hidden
the node would be hidden as well. We changed this so that the user
needs to be enrolled in the course.

dilawar/moodle