diff options
author | Matthew Wild <mwild1@gmail.com> | 2023-06-29 15:36:13 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2023-06-29 15:36:13 +0100 |
commit | f7323ed6e45a8354a88928cbf91c73c7078cd2d0 (patch) | |
tree | cf4242993d275b4b04b0d97cd9eb751704625840 /core/features.lua | |
parent | 641f070a9da5d495e23dd1d7613121276fe96906 (diff) | |
download | prosody-f7323ed6e45a8354a88928cbf91c73c7078cd2d0.tar.gz prosody-f7323ed6e45a8354a88928cbf91c73c7078cd2d0.zip |
core, plugins: Split prosody:user role into prosody:{guest,registered,member}
This gives us more granular control over different types of user account.
Accounts registered by IBR get assigned prosody:registered by default, while
accounts provisioned by an admin (e.g. via prosodyctl shell) will receive
prosody:member by default.
Diffstat (limited to 'core/features.lua')
-rw-r--r-- | core/features.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/features.lua b/core/features.lua index 8fbfbe9c..c96f0c81 100644 --- a/core/features.lua +++ b/core/features.lua @@ -12,5 +12,8 @@ return { "keyval+"; "s2sout-pre-connect-event"; + + -- prosody:guest, prosody:registered, prosody:member + "split-user-roles"; }; }; |