liquid_feedback_frontend
changeset 1822:d1ef89bd250c
Fixed privileges
author | bsw |
---|---|
date | Wed Jan 26 01:46:10 2022 +0100 (2022-01-26) |
parents | 7978d87b3552 |
children | a3ca8d5c8c79 |
files | app/main/_filter/21_auth.lua |
line diff
1.1 --- a/app/main/_filter/21_auth.lua Wed Jan 26 01:44:32 2022 +0100 1.2 +++ b/app/main/_filter/21_auth.lua Wed Jan 26 01:46:10 2022 +0100 1.3 @@ -22,6 +22,8 @@ 1.4 or view == "403" 1.5 or view == "404" 1.6 or view == "405" 1.7 + or view == "usage_terms" and config.use_terms_public_access == true 1.8 + or view == "privacy" and config.privacy_policy_public_access == true 1.9 ) then 1.10 auth_needed = false 1.11 end 1.12 @@ -70,8 +72,8 @@ 1.13 or module == "draft" and view == "show" 1.14 or module == "file" and view == "show.jpg" 1.15 or module == "index" and view == "search" 1.16 - or module == "index" and view == "usage_terms" and config.use_terms_public_access == true 1.17 - or module == "index" and view == "privacy" and config.privacy_policy_public_access == true 1.18 + or module == "index" and view == "usage_terms" 1.19 + or module == "index" and view == "privacy" 1.20 or module == "help" and view == "introduction" 1.21 or module == "style" 1.22 then