comparison mod_admin_blocklist/README.md @ 5976:bd0b4d8aa94e

mod_admin_blocklist: Update README Compability Section
author Menel <menel@snikket.de>
date Tue, 22 Oct 2024 10:44:56 +0200
parents fe081789f7b5
children 0e0c6618e154
comparison
equal deleted inserted replaced
5975:fe081789f7b5 5976:bd0b4d8aa94e
1 --- 1 ---
2 summary: Block s2s connections based on admin blocklists 2 summary: Block s2s connections based on admin blocklists
3 labels:
4 - 'Stage-Beta'
3 ... 5 ...
4 6
5 This module uses the blocklists set by admins for blocking s2s 7 This module uses the blocklists set by admins for blocking s2s
6 connections. 8 connections.
7 9
9 via [mod\_blocklist][doc:modules:mod_blocklist] then no s2s connections 11 via [mod\_blocklist][doc:modules:mod_blocklist] then no s2s connections
10 will be allowed to or from that domain. 12 will be allowed to or from that domain.
11 13
12 # Configuring 14 # Configuring
13 15
14 ## Prosody 0.12 16 The role or roles that determine whether a
15
16 Starting with Prosody 0.12, the role or roles that determine whether a
17 particular users blocklist is used can be configured: 17 particular users blocklist is used can be configured:
18 18
19 ```lua 19 ```lua
20 -- This is the default: 20 -- This is the default:
21 admin_blocklist_roles = { "prosody:operator", "prosody:admin" } 21 admin_blocklist_roles = { "prosody:operator", "prosody:admin" }
22 ``` 22 ```
23 23
24 ## Prosody 0.11 24 #Compatibility
25 25
26 In Prosody 0.11 the [`admins`][doc:admins] setting is used. 26 ------- -------
27 trunk* Works
28 0.12 Works
29 ------- -------
30
31 *as of 2024-10-22