]> Lady’s Gitweb - Gitweb/commit
gitweb: Add a per-repository authorization hook.
authorAlexander Gavrilov <redacted>
Wed, 5 Nov 2008 22:36:23 +0000 (01:36 +0300)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
commit01243a50328ba47405d3307dc6c097d00ea149905018a4b6ca65666a1d1193ea
treed1fbb678103757c7f53a835c6bfc586cb040a0894d3be920f424e4d649538a8c
parent29df2595733d045a38a2d5e881806ccd7d94c66d84749069943e49ccdfa5ee8f
gitweb: Add a per-repository authorization hook.

Add a configuration variable that can be used to specify an
arbitrary subroutine that will be called in the same situations
where $export_ok is checked, and its return value used
to decide whether the repository is to be shown.

This allows the user to implement custom authentication
schemes, for example by issuing a subrequest through mod_perl
and checking if Apache will authorize it.

Signed-off-by: Alexander Gavrilov <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
INSTALL
gitweb.perl
This page took 0.269283 seconds and 4 git commands to generate.