prosody-modules
log
graph
tags
bookmarks
branches
0905d348bd34
browse
changeset
mod_readonly/README.markdown
Annotate
comparison
diff
file
raw
log
latest
help
Find changesets by keywords by author, files, the commit message, revision number or hash, or
revset expression
.
Software
/
code
/
prosody-modules
Annotate
mod_readonly/README.markdown @ 5358:
0905d348bd34
mod_http_oauth2: Include additional OpenID scopes in metadata Drops fallback because this module probably doesn't work with Prosody before the role stuff anyway.
author
Kim Alvefur <zash@zash.se>
date
Sat, 22 Apr 2023 14:22:56 +0200 (21 months ago)
parent
3437:
ce5d1fa69ba3
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
3437
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
```