I would like to use the printAlbumMenuList() function in my theme, but it seems to print all the albums in the gallery, even those that are unpublished or protected; same goes for the printAlbumMenuJump() function apparently.
What must I do in order to prevent users to see albums they are not allowed to browse?
Thanks for your advice.