Re: [RFC PATCH] gitweb: Support filtering projects by .htaccess files.
Le Monday 03 November 2008 17:43:29, vous avez écrit :
Show 13 quoted lines
> Some environments may require selective limiting of read access to
> repositories. While even dumb http transport supports it through .htaccess
> files, gitweb currently does not implement discretionary access control.
>
> This patch adds a configuration-contolled check that matches simple
> 'Reguire user'/'Reguire group' lines in the .htaccess files with the
> authenticated user name. Using group authentication requires specifying
> a path to the Apache group file in the configuration.
>
> Using htaccess has an additional bonus that the same authentication
> data can be used both for gitweb and the dumb http transport.
>
> Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
It just seems to me that this is emulating functionality that multiple Web servers already provide...
What's more, knowledge about these Web servers are _much_ more widespread than knowledge about gitweb.
Why reinvent the wheel?
Just a thought,
--
fge