Issue 1056: Attempting to access a restricted project doesn't prompt you to login
Status:  Duplicate
Merged:  issue 911
Owner: ----
Closed:  Mar 2013
Reported by jykni...@google.com, Jul 19, 2011
Affected Version: 2.2.1

What steps will reproduce the problem?
1. Have a private gerrit project on your server (read access restricted to only some groups)
2. Be logged out.
3. Attempt to access a code review, gitweb, or other page on that project.

The attempts are rejected with a "Not Found" error (either via json or HTTP 404), with no hint that perhaps you should try logging in. This is very confusing to users.

It's understandable that it doesn't want to disclose the existence of the project, so perhaps all entity not found errors sent to a logged-out user should suggest attempting to log in.
Jul 19, 2011
#1 jykni...@google.com
> It's understandable that it doesn't want to disclose the existence of the project

Hrm. Except that this *is* disclosed already, via git clone http://$server/p/projectname

That prompts you to login if the project is not visible to anonymous users, but only if it actually exists.
Dec 8, 2011
#2 r...@cmbasics.com
This could be a duplicate of https://code.google.com/p/gerrit/issues/detail?id=911
Very annoying bug, if you are using LDAP behind apache
Mar 28, 2013
#3 sop@google.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 911