From f7cfac3eb955307701556c4603e50a922c0c873a Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 1 Nov 2026 22:24:48 -1000 Subject: Say the auth filters match a repository's url A list keyed on the name the index shows matched nothing, so the repository it meant to protect stayed public. --- custom/cgitrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'custom/cgitrc') diff --git a/custom/cgitrc b/custom/cgitrc index 1e2dbaa..85bd531 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -301,10 +301,11 @@ trust-scan-config=0 # Filter command invoked to authenticate access, gating repositories behind a # login. See custom/extensions/auth-inline.lua and -# custom/extensions/auth-file.lua. make install overwrites the copies it puts -# in /usr/local/lib/cgit/filters, so edit a copy kept elsewhere, readable only -# by root and the web server's group, and point this at it. Value is a -# command. Default is none. +# custom/extensions/auth-file.lua, which name each protected repository by its +# url, such as team/tools.git where section-from-path shows tools.git. +# make install overwrites the copies it puts in /usr/local/lib/cgit/filters, so +# edit a copy kept elsewhere, readable only by root and the web server's group, +# and point this at it. Value is a command. Default is none. #auth-filter=lua:/etc/cgit/auth-inline.lua # Number of items to display in atom feeds. Value is an integer. Default is 10. -- cgit 2.12.1