Mercurial > prosody-modules
view mod_readonly/README.markdown @ 3989:32d7f05e062f
mod_auth_custom_http: Unlock globals while loading socket.http
ltn12 tries to set a global and isn't caught by the require sandboxing.
Lua 5.2 issue?
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Apr 2020 15:39:12 +0100 |
parents | ce5d1fa69ba3 |
children |
line wrap: on
line source
This module blocks configured queries that change server state. E.g. to make vCard storage read-only: ``` lua readonly_stores = { vcard = { "vcard-temp", "vCard" }; } ```