igniterealtime / openfire-restAPI-plugin

Allows Openfire administration over a RESTful API.
http://www.igniterealtime.org/projects/openfire/plugin-archive.jsp?plugin=restAPI
Apache License 2.0
19 stars 53 forks source link

Update room permissions leads to conflicts #159

Closed guusdk closed 2 years ago

guusdk commented 2 years ago

When a room's user permissions are being updated, conflicts arise (but are not logged).

It appears that the implementation first removes all permissions, to then update them to the desired configuration.

This intermediate step briefly removes all owners, which is forbidden (a room must always have an owner), causing a conflict.