join-approval #103

Merged
hodlbod merged 2 commits from join-approval into dev 2026-03-19 15:40:35 +00:00
Owner

Fixes #30

Fixes #30
hodlbod added 1 commit 2026-03-18 23:14:29 +00:00
hodlbod requested review from mplorentz 2026-03-18 23:14:29 +00:00
mplorentz reviewed 2026-03-19 14:49:27 +00:00
mplorentz left a comment
Collaborator

This looks awesome but I had some problems testing it. I created a new room on relay.scuttle.works and checked the new "Require admins to approve join requests" box, but then when I tried to make a join request from a non-admin account it just let me join the room without approval and post. Are there zooid changes required to support this flotilla branch?

This looks awesome but I had some problems testing it. I created a new room on relay.scuttle.works and checked the new "Require admins to approve join requests" box, but then when I tried to make a join request from a non-admin account it just let me join the room without approval and post. Are there zooid changes required to support this flotilla branch?
@@ -209,3 +209,3 @@
<div class="flex items-center gap-2">
<input type="checkbox" class="checkbox" bind:checked={values.isClosed} />
<span class="text-sm opacity-75">Ignore requests to join</span>
<span class="text-sm opacity-75">Require admins to approve join requests</span>
Collaborator

It seems slightly ambiguous what's going to happen if this box is unchecked. Can any member approve join requests? Are they approved automatically? I'm having trouble coming up with a better phrase though. Maybe something like "Membership requires approval" since all the other boxes here reference membership. Another option would be to change it to a select box labeled something like:

Room Membership: 
- anyone can join
- require admin approval
It seems slightly ambiguous what's going to happen if this box is unchecked. Can any member approve join requests? Are they approved automatically? I'm having trouble coming up with a better phrase though. Maybe something like "Membership requires approval" since all the other boxes here reference membership. Another option would be to change it to a select box labeled something like: ``` Room Membership: - anyone can join - require admin approval ```
Author
Owner

Good suggestion, I think this form could be nuanced down the road too (e.g. if membership doesn't restrict read/write then it should auto-approve; if read/write aren't gated it doesn't make sense to make the room unlisted, etc).

Good suggestion, I think this form could be nuanced down the road too (e.g. if membership doesn't restrict read/write then it should auto-approve; if read/write aren't gated it doesn't make sense to make the room unlisted, etc).
hodlbod force-pushed join-approval from f9d2093a84 to b100ec124c 2026-03-19 15:34:16 +00:00 Compare
Author
Owner

This looks awesome but I had some problems testing it. I created a new room on relay.scuttle.works and checked the new "Require admins to approve join requests" box, but then when I tried to make a join request from a non-admin account it just let me join the room without approval and post.

Did you also check "Only allow members to send messages"? If that and the read setting aren't enabled then membership is a no-op.

Are there zooid changes required to support this flotilla branch?

Yeah, there's a new commit that only auto-approves when the room is not closed, which is probably what you were seeing.

> This looks awesome but I had some problems testing it. I created a new room on relay.scuttle.works and checked the new "Require admins to approve join requests" box, but then when I tried to make a join request from a non-admin account it just let me join the room without approval and post. Did you also check "Only allow members to send messages"? If that and the read setting aren't enabled then membership is a no-op. > Are there zooid changes required to support this flotilla branch? Yeah, there's a new commit that only auto-approves when the room is not closed, which is probably what you were seeing.
hodlbod merged commit 1f5be54cb1 into dev 2026-03-19 15:40:35 +00:00
hodlbod deleted branch join-approval 2026-03-19 15:40:35 +00:00
Collaborator

Did you also check "Only allow members to send messages"? If that and the read setting aren't enabled then membership is a no-op.

Yes I did check that box. I tested again today on the latest branches of flotilla and zooid and it seems to work!

> Did you also check "Only allow members to send messages"? If that and the read setting aren't enabled then membership is a no-op. Yes I did check that box. I tested again today on the latest branches of flotilla and zooid and it seems to work!
Sign in to join this conversation.