Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XEP-0045: Add explicit error definition when non-owners attempt to use owner-specific functionality #1370

Merged

Conversation

guusdk
Copy link
Contributor

@guusdk guusdk commented Aug 14, 2024

XEP-0045 explicitly states that modifying the Owner List (section 10.5) is 'forbidden' to any non-owner, but does not explicitly state that error in 10.3 (Granting Owner Status) and 10.4 (Revoking Owner Status). The same issue is there in the sections 10.6, 10.7 and 10.8 (granting/revoking Admin Status).

This commit copies the text that's used throughout the specification ("If the <user@host> of the 'from' address does not match the bare JID of a room owner, the service MUST return a error to the sender.") to the sections where it's missing.

@github-actions github-actions bot added the Needs Council The affected XEP has the Council as Approving Body and it needs to decide on the change. label Aug 14, 2024
@iNPUTmice
Copy link
Contributor

Hi @guusdk

council has approved those changes. Would you mind rebasing this on top of current master?

…e owner-specific functionality

XEP-0045 explicitly states that modifying the Owner List (section 10.5) is 'forbidden' to any non-owner, but does not explicitly state that error in 10.3 (Granting Owner Status) and 10.4 (Revoking Owner Status). The same issue is there in the sections 10.6, 10.7 and 10.8 (granting/revoking Admin Status).

This commit copies the text that's used throughout the specification ("If the <user@host> of the 'from' address does not match the bare JID of a room owner, the service MUST return a <forbidden/> error to the sender.") to the sections where it's missing.
@guusdk guusdk force-pushed the XEP-0045_10_Restrict-functionality-to-owners branch from dc2550b to 957b203 Compare September 17, 2024 08:06
@guusdk
Copy link
Contributor Author

guusdk commented Sep 17, 2024

Hello @iNPUTmice - It is now rebased! Thanks for all of the editorial work you've been putting in this, lately!

@iNPUTmice iNPUTmice merged commit c86f4e2 into xsf:master Sep 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Council The affected XEP has the Council as Approving Body and it needs to decide on the change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants