Annotate
mod_readonly/README.markdown @ 4525:b68b801ddc50
mod_rest: Restore 'kind' property in JSON-mapped objects
The datamapper schema has no 'kind' field, instead handling it as a
top-level property of the currently unused <xmpp> element and doing this
early dispatch on the top level element name.
This puts the field back into the output JSON.
author |
Kim Alvefur <zash@zash.se> |
date |
Tue, 23 Mar 2021 17:44:49 +0100 |
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 ```
|