mod_readonly/README.markdown
author Matthew Wild <mwild1@gmail.com>
Wed, 13 Jul 2022 11:15:43 +0100
changeset 5000 031e0dd90f4b
parent 3441 ce5d1fa69ba3
permissions -rw-r--r--
mod_cloud_notify: Rename field in event for clarity ('node' is ambiguous here) ...because the push protocol is based on XEP-0060, and the 'node' can mean the identifier communicated to the push service.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3441
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     1
This module blocks configured queries that change server state.
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     2
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     3
E.g. to make vCard storage read-only:
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     4
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     5
``` lua
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     6
readonly_stores = {
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     7
	vcard = { "vcard-temp", "vCard" };
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     8
}
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     9
```