diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-09-28 17:47:00 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-09-28 17:47:00 +0100 |
commit | 4dc941fa5370d86a0338587feb321693bcdabc9b (patch) | |
tree | e6f59605e02207c83d0c09fc5857c326c1df723a /net/websocket/frames.lua | |
parent | 67db8995113b2772367fcd2cd6d471afd08b410c (diff) | |
download | prosody-4dc941fa5370d86a0338587feb321693bcdabc9b.tar.gz prosody-4dc941fa5370d86a0338587feb321693bcdabc9b.zip |
muc: Re-allow non-admins to configure persistence (thanks Meaz)
Non-admins don't have a role on MUC services by default. Not even
prosody:user. This meant they had no :create-persistent-room permission, even
if muc_room_allow_persistent was true (the default).
Now we only check the role permissions if persistent room creation is
restricted, otherwise we skip any permission checks, just like previous
versions.
Diffstat (limited to 'net/websocket/frames.lua')
0 files changed, 0 insertions, 0 deletions