Skip to content

fixes #159: Ensure that a JID can be affiliated only once#161

Merged
guusdk merged 1 commit intoigniterealtime:mainfrom
guusdk:159_update-room-permissions
Nov 1, 2022
Merged

fixes #159: Ensure that a JID can be affiliated only once#161
guusdk merged 1 commit intoigniterealtime:mainfrom
guusdk:159_update-room-permissions

Conversation

@guusdk
Copy link
Copy Markdown
Member

@guusdk guusdk commented Nov 1, 2022

Issues pop up when an attempt is ade to affiliate a JID more than once, especially when that JID is also an owner. Affiliating such a JID as something else will remove the ownership affiliation. This can trigger an issue where the room has no owners.

This commit introduces a check to verify that the inbound request does not define multiple affiliations for the same JID. It also reworks the way in which affiliations are applied.

Issues pop up when an attempt is ade to affiliate a JID more than once, especially when that JID is also an owner. Affiliating such a JID as something else will remove the ownership affiliation. This can trigger an issue where the room has no owners.

This commit introduces a check to verify that the inbound request does not define multiple affiliations for the same JID. It also reworks the way in which affiliations are applied.
@guusdk guusdk force-pushed the 159_update-room-permissions branch from a177153 to bfc117a Compare November 1, 2022 16:10
@guusdk guusdk changed the title fixes #195: Ensure that a JID can be affiliated only once fixes #159: Ensure that a JID can be affiliated only once Nov 1, 2022
@guusdk guusdk merged commit a990316 into igniterealtime:main Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant