----- On Jan 29, 2016, at 3:56 AM, Richard Hipp d...@sqlite.org wrote:

> On 1/28/16, dewey.hyl...@gmail.com <dewey.hyl...@gmail.com> wrote:
>>
>> to be more specific, just in case ... my repo contains the following file:
>>     docs/public/README.md
>>
>> i would like this to be the page that is displayed when someone visits the
>> repository via web browser, to act as the front page for the project, just
>> as it works for:
>>     http://fossil-scm.org/index.html/doc/trunk/www/index.wiki
>>
>> basically i want a non-public repository with a public front page.
>>
>> i have the following set for index-page:
>>     /doc/tip/docs/public/README.md
>>
>> i have the following set for public-pages:
>>     /doc/tip/docs/public/*
>>
>> when i visit the page without being logged in, and with default capabilities
>> for both anonymous and nobody, i see the page. however, without being logged
>> in even as anonymous i am also able to peruse other files and such. changing
>> capabilities of anonymous/nobody so far has not enabled me to see the front
>> page without being logged in, while removing access to the other files.
> 
> Set the public-pages to:
> 
>    /doc/tip/docs/public/README.md

thanks for your response. this indeed works for default permissions. i suppose
the globbing (*) may only work on true wiki pages, but it'd be nice to work in
this case as well. of course with this configuration, all files are accessible.

what are the minimum capabilities required for this to work? if i set both
anonymous and nobody capabilities to j (or hj), this stops working. i'd like to
present the front page to everybody for an otherwise private repository. is
this even possible?
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to