webmcp

view demo-app/app/main/_filter_action/23_write_priv.lua @ 160:d5e5e8a9b79a

Added __tostring metamethod to JSON arrays and JSON objects
author jbe
date Thu Jul 31 03:57:11 2014 +0200 (2014-07-31)
parents 9fdfb27f8e67
children
line source
1 if
2 not (request.get_module() == "index" and request.get_action() == "login")
3 and not (request.get_module() == "index" and request.get_action() == "logout")
4 then
5 app.session.user:require_privilege("write")
6 end
7 execute.inner()

Impressum / About Us