fix issue with templates not showing in ucp if visibility is useronly
fix issue with templates not showing in ucp if visibility is useronly

see #2777

elabftw/elabftw,elabftw/elabftw,elabftw/elabftw,elabftw/elabftw,elabftw/elabftw