Permissions fix
Permissions fix

If user doesn't belong to any groups, this was generating bad
solr syntax enabling user to see existence of any group-owned
notebook

nbgallery/nbgallery,nbgallery/nbgallery,nbgallery/nbgallery,nbgallery/nbgallery