liquid_feedback_frontend
changeset 816:3e8b50739577
Allow member search only with access level everything
author | bsw |
---|---|
date | Fri Jul 06 14:17:47 2012 +0200 (2012-07-06) |
parents | 3378ea16007f |
children | ab468c8f234b |
files | app/main/index/search.lua |
line diff
1.1 --- a/app/main/index/search.lua Fri Jul 06 14:02:05 2012 +0200 1.2 +++ b/app/main/index/search.lua Fri Jul 06 14:17:47 2012 +0200 1.3 @@ -15,7 +15,7 @@ 1.4 attr = { class = "vertical" }, 1.5 content = function() 1.6 1.7 - if app.session:has_access("all_pseudonymous") then 1.8 + if app.session:has_access("everything") then 1.9 ui.field.select{ 1.10 label = _"Search context", 1.11 name = "search_for", 1.12 @@ -38,7 +38,7 @@ 1.13 1.14 if search_string then 1.15 1.16 - if app.session:has_access("all_pseudonymous") then 1.17 + if app.session:has_access("everything") then 1.18 if search_for == "global" or search_for == "member" then 1.19 local members_selector = Member:get_search_selector(search_string) 1.20 execute.view{