diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-09-29 12:10:14 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-09-29 12:10:14 +0100 |
commit | 9b8c2cd1c980d5c4a9ec1c4b170e486d16ef1a15 (patch) | |
tree | f685992ec38bb0029cf4fcbe5fb3e3e845ae4377 /prosodyctl | |
parent | 4dc941fa5370d86a0338587feb321693bcdabc9b (diff) | |
download | prosody-9b8c2cd1c980d5c4a9ec1c4b170e486d16ef1a15.tar.gz prosody-9b8c2cd1c980d5c4a9ec1c4b170e486d16ef1a15.zip |
mod_authz_internal: Allow configuring role of local-server/parent-host users
'host_user_role' is the default role of users who have JIDs on the "parent"
host (i.e. jabber.org users on conference.jabber.org). Defaults to
'prosody:user'.
'server_user_roles' is the default role of users who have JIDs on any active
host on the current Prosody instance. Default to nil (no role).
This finally allows better permissions splitting between host and server
users, which has previously been done (e.g. in MUC) with options like
'restrict_room_creation' and 'muc_room_allow_persistent'. Using roles makes
these permissions a lot more flexible, and easier for developers to integrate.
Diffstat (limited to 'prosodyctl')
0 files changed, 0 insertions, 0 deletions