On Thu, Nov 28, 2013 at 10:07 AM, Bassem Rabil
<
bassem.ra...@ericsson.com> wrote:
> Does this permission scheme applied to cgit as well ? Or in cgit it is
> dependent on the web server user permission to the repository file system ?
Gerrit read ACLs, for others it may be a non-issue. gitweb can also be
> Thanks and Regards
> Bassem Guendy
>
> On Thursday, November 28, 2013 12:09:11 PM UTC-5, Shawn Pearce wrote:
>>
>> On Thu, Nov 28, 2013 at 2:49 AM, Olivier Croquette <
ocroq...@free.fr>
>> wrote:
>> > On Tuesday, May 14, 2013 3:37:27 PM UTC+2, Jonas Bang wrote:
>> >>
>> >> Using Gerrit 2.5.2. I also had issues with this.
>> >>
>> >> This solved it for me:
>> >> Add Read:ALLOW on refs/* for the group which needs gitweb access
>> >> Remove the "Exclusive" for "Project Owners" on Read:ALLOW for
>> >> refs/meta/config
>> >
>> >
>> > I am using Gerrit 2.6.1 and I hit the same problem.
>> > Jonas solution worked for me (thanks for sharing it).
>> >
>> > This problem is not easy to troubleshoot because there is not indication
>> > in
>> > the log files about the cause of the 404.
>> >
>> > Shall I open a bug report ?
>>
>> No, it works as designed. :-)
>>
>> gitweb can't do branch restrictions so it is disabled for users that
>> don't have read on refs/*. The exclusive read for project owners on
>> refs/meta/config is the safest configuration out of the box, as
>> refs/meta/config contains the access controls for each project.
>>
>> Maybe this needs to be addressed in the config-gitweb documentation or
>> common errors pages.
>