Default new access lists to allow-by-default

Basic-Auth-only access lists (no CIDR rules) were unreachable: with
Default allow off, checkAccess denied every IP with 403 before the
auth prompt ever ran. New lists now default to allow-by-default, and
the label clarifies the interaction with Basic Auth.
This commit is contained in:
2026-08-17 11:35:16 -05:00
parent affdbfaa41
commit db91c24d7f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func (h *Web) handleAccessListsList(w http.ResponseWriter, r *http.Request) {
}
func (h *Web) handleAccessListForm(w http.ResponseWriter, r *http.Request) {
var l models.AccessList
l := models.AccessList{DefaultAllow: true}
isNew := true
if idStr := r.PathValue("id"); idStr != "" {
isNew = false