Annotate
mod_readonly/README.markdown @ 4916:3dc8e329d233
mod_rest: Move most of XEP-0432 handling into JSON mapping schema
The pre- and post-processing is still needed to encode/decode the JSON
since util.datamapper can't (currently) do this.
author |
Kim Alvefur <zash@zash.se> |
date |
Thu, 07 Apr 2022 15:39:57 +0200 |
parent |
3437:ce5d1fa69ba3 |
rev |
line source |
3437
|
1 This module blocks configured queries that change server state.
|
|
2
|
|
3 E.g. to make vCard storage read-only:
|
|
4
|
|
5 ``` lua
|
|
6 readonly_stores = {
|
|
7 vcard = { "vcard-temp", "vCard" };
|
|
8 }
|
|
9 ```
|