Software /
code /
prosody-modules
Diff
mod_readonly/README.markdown @ 3437:ce5d1fa69ba3
mod_readonly: Add a stub README
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Jan 2019 20:07:57 +0100 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_readonly/README.markdown Mon Jan 07 20:07:57 2019 +0100 @@ -0,0 +1,9 @@ +This module blocks configured queries that change server state. + +E.g. to make vCard storage read-only: + +``` lua +readonly_stores = { + vcard = { "vcard-temp", "vCard" }; +} +```