webmcp

view demo-app/app/main/_filter_action/23_write_priv.lua @ 566:3b71fdb3a00d

Updated year + version in documentation
author jbe
date Wed Apr 28 12:54:38 2021 +0200 (2021-04-28)
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