webmcp

view demo-app/app/main/_filter_action/23_write_priv.lua @ 374:11ef7ab67e43

Added mutability state handlers in mondelefant_atom_connector.lua and prepare its usage in mondelefant_native.c
author jbe
date Sat Nov 14 14:15:31 2015 +0100 (2015-11-14)
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