disable bans according to perms; closes #911

This commit is contained in:
ed
2025-10-14 21:09:38 +00:00
parent 3364448858
commit 6f02812af1
3 changed files with 12 additions and 1 deletions

View File

@@ -167,7 +167,7 @@ class Cfg(Namespace):
ex = "ah_alg bname chdir chmod_f chpw_db doctitle df exit favico ipa html_head html_head_d html_head_s idp_login idp_logout lg_sba lg_sbf log_fk md_sba md_sbf name og_desc og_site og_th og_title og_title_a og_title_v og_title_i opds_exts shr tcolor textfiles txt_eol ufavico ufavico_h unlist vname xff_src zipmaxt R RS SR"
ka.update(**{k: "" for k in ex.split()})
ex = "ban_403 ban_404 ban_422 ban_pw ban_pwc ban_url spinner"
ex = "ban_403 ban_404 ban_422 ban_pw ban_pwc ban_url dont_ban spinner"
ka.update(**{k: "no" for k in ex.split()})
ex = "ext_th grp idp_h_usr idp_hm_usr ipr on403 on404 qr_file xac xad xar xau xban xbc xbd xbr xbu xiu xm"