Adjust moderator list handling to API change
The endpoint now returns all users with a role higher than PARTICIPANT
. As a consequence, there is now a duplicate entry for the room owner.
Proposal:
- Create a list entries dynamically based on the API response and use the provided role.
- Hide the delete button if the item's UID matches the current user's UID.
Note: The ownerId
property of the room still exists but will only store the ID of the initial room creator and has no longer any relevance for permission checks.
Related: arsnova-http-gateway!109 (merged)
Edited by Daniel Gerhardt