Software /
code /
prosody
Comparison
spec/util_datetime_spec.lua @ 12729:73a45ba6e3f1
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.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 28 Sep 2022 17:47:00 +0100 |
parent | 12629:4c1d3f817063 |
child | 12755:a09dacf660d2 |
comparison
equal
deleted
inserted
replaced
12728:931a2d049a91 | 12729:73a45ba6e3f1 |
---|