mod_readonly

This module blocks configured queries that change server state.

E.g. to make vCard storage read-only:

readonly_stores = {
    vcard = { "vcard-temp", "vCard" };
}

Installation

With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_readonly

For earlier versions see the documentation for installing 3rd party modules