liquid_feedback_frontend

changeset 884:a1c7858c15e9

Show voting ballot from access_level all_pseudonymous and up
author bsw
date Mon Aug 20 01:29:18 2012 +0200 (2012-08-20)
parents 1e4c6baf2d87
children e81f35cdc088
files app/main/_filter/21_auth.lua
line diff
     1.1 --- a/app/main/_filter/21_auth.lua	Mon Aug 20 01:26:37 2012 +0200
     1.2 +++ b/app/main/_filter/21_auth.lua	Mon Aug 20 01:29:18 2012 +0200
     1.3 @@ -45,14 +45,14 @@
     1.4    if module == "member_image" and view == "show"
     1.5     or module == "vote" and view == "show_incoming"
     1.6     or module == "interest" and view == "show_incoming"
     1.7 -   or module == "supporter" and view == "show_incoming" then
     1.8 +   or module == "supporter" and view == "show_incoming" 
     1.9 +   or module == "vote" and view == "list" then
    1.10      auth_needed = false
    1.11    end
    1.12  end
    1.13  
    1.14  if app.session:has_access("everything") then
    1.15 -  if module == "member" and (view == "show" or view == "history") 
    1.16 -    or module == "vote" and view == "list" then
    1.17 +  if module == "member" and (view == "show" or view == "history") then
    1.18      auth_needed = false
    1.19    end
    1.20  end

Impressum / About Us