# HG changeset patch # User bsw # Date 1345418958 -7200 # Node ID a1c7858c15e9075a67a5d0e88ad56442210021a7 # Parent 1e4c6baf2d87aef160f7c1e5560ecc7c8ad321b7 Show voting ballot from access_level all_pseudonymous and up diff -r 1e4c6baf2d87 -r a1c7858c15e9 app/main/_filter/21_auth.lua --- a/app/main/_filter/21_auth.lua Mon Aug 20 01:26:37 2012 +0200 +++ b/app/main/_filter/21_auth.lua Mon Aug 20 01:29:18 2012 +0200 @@ -45,14 +45,14 @@ if module == "member_image" and view == "show" or module == "vote" and view == "show_incoming" or module == "interest" and view == "show_incoming" - or module == "supporter" and view == "show_incoming" then + or module == "supporter" and view == "show_incoming" + or module == "vote" and view == "list" then auth_needed = false end end if app.session:has_access("everything") then - if module == "member" and (view == "show" or view == "history") - or module == "vote" and view == "list" then + if module == "member" and (view == "show" or view == "history") then auth_needed = false end end