zenodo / zenodo-rdm

Zenodo, powered by InvenioRDM
https://zenodo.org
GNU General Public License v2.0
64 stars 28 forks source link

horizon: frontpage: disable My communities for unauthenticated users on CommunitySelectionSearch #1031

Closed ptamarit closed 1 month ago

ptamarit commented 1 month ago

Partially fixes inveniosoftware/invenio-communities#1227 Depends on inveniosoftware/invenio-rdm-records#1850

Now that the CommunitySelectionSearch is used in the community front page (see linked issue), there might not be an authenticated user and the myCommunities tab might not make sense. Here we are disabled myCommunities if the user is not authenticated.