Setting permissions to hide links from unregistered users.