diff --git a/pylons_app/templates/index.html b/pylons_app/templates/index.html --- a/pylons_app/templates/index.html +++ b/pylons_app/templates/index.html @@ -51,7 +51,7 @@ %for cnt,repo in enumerate(c.repos_list): - %if repo['name'] in c.repo_switcher_list: + %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'): %if repo['repo'].dbrepo.private: