join-approval #103
Reference in New Issue
Block a user
Delete Branch "join-approval"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #30
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>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:
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).
f9d2093a84tob100ec124cDid you also check "Only allow members to send messages"? If that and the read setting aren't enabled then membership is a no-op.
Yeah, there's a new commit that only auto-approves when the room is not closed, which is probably what you were seeing.
Yes I did check that box. I tested again today on the latest branches of flotilla and zooid and it seems to work!