webmcp

view demo-app/app/main/_filter_action/23_write_priv.lua @ 243:d5cba50e16ae

Send "Connection: close" header to terminate process
author jbe
date Sun Mar 01 20:52:03 2015 +0100 (2015-03-01)
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