Gerrit Gitweb and HTTP 404

564 views
Skip to first unread message

Callum Scott

unread,
Jan 15, 2016, 8:32:29 AM1/15/16
to Repo and Gerrit Discussion
I have a user that is getting a 404 when trying to view a Project in gerrit.

There is no error message logged apart from the 404 in the web server logs.

As and Administrator I have no issue and can see everything fine,.

There is an old post that suggest giving READ permissions to /refs/meta/config

I have given the affected users group that permission in All-Projects however they still cannot access

I am using 2.11.3 behind an NGINX server acting as a reverse proxy

Any help would be appreciated

Callum Scott

unread,
Jan 15, 2016, 11:39:08 AM1/15/16
to Repo and Gerrit Discussion
Ive been beating my head against this all day.  I think I may have hit a bug in the permissions system.

So I have a setup that looks like:

All-Projects -> Developer-Projects -> Server-Projects -> Servers

As mentioned above the All-Projects level has an ALLOW for /refs/meta/config for the Developer user group.

If change the setup to be

All-Projects -> Developer-Projects -> Servers

or 

All-Projects -> Servers

Then the user can see the repo in Gitweb.  Is there an issue specifically with trying to pass permissions more than one level down?  Anyone else come across this?

Regards
Callum 

Matthias Sohn

unread,
Jan 15, 2016, 4:10:32 PM1/15/16
to Callum Scott, Repo and Gerrit Discussion
the permission system can handle multiple levels of permission inheritance.
Can you post the permission settings for the affected developers for these 4 projects ?

-Matthias 
Reply all
Reply to author
Forward
0 new messages