liquid_feedback_frontend
diff model/member.lua @ 813:ea2449916c12
Cleaned up public access levels
author | bsw |
---|---|
date | Fri Jul 06 13:58:20 2012 +0200 (2012-07-06) |
parents | f49cdfb72567 |
children | a7f97f535d7e |
line diff
1.1 --- a/model/member.lua Fri Jul 06 13:34:02 2012 +0200 1.2 +++ b/model/member.lua Fri Jul 06 13:58:20 2012 +0200 1.3 @@ -470,7 +470,7 @@ 1.4 1.5 function Member.object:ui_field_text(args) 1.6 args = args or {} 1.7 - if app.session.member_id or config.public_access == "pseudonym" or config.public_access == "full" then 1.8 + if app.session:has_access("authors_pseudonymous") then 1.9 -- ugly workaround for getting html into a replaced string and to the user 1.10 ui.container{label = args.label, label_attr={class="ui_field_label"}, content = function() 1.11 slot.put(string.format('<span><a href="%s">%s</a></span>',