# HG changeset patch # User bsw # Date 1643157970 -3600 # Node ID d1ef89bd250c10f4333779b7cac59de4778ef65b # Parent 7978d87b3552e826abe2383936a71dd065bf3f64 Fixed privileges diff -r 7978d87b3552 -r d1ef89bd250c app/main/_filter/21_auth.lua --- a/app/main/_filter/21_auth.lua Wed Jan 26 01:44:32 2022 +0100 +++ b/app/main/_filter/21_auth.lua Wed Jan 26 01:46:10 2022 +0100 @@ -22,6 +22,8 @@ or view == "403" or view == "404" or view == "405" + or view == "usage_terms" and config.use_terms_public_access == true + or view == "privacy" and config.privacy_policy_public_access == true ) then auth_needed = false end @@ -70,8 +72,8 @@ or module == "draft" and view == "show" or module == "file" and view == "show.jpg" or module == "index" and view == "search" - or module == "index" and view == "usage_terms" and config.use_terms_public_access == true - or module == "index" and view == "privacy" and config.privacy_policy_public_access == true + or module == "index" and view == "usage_terms" + or module == "index" and view == "privacy" or module == "help" and view == "introduction" or module == "style" then