~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Lexicons describe parameters and errors the host never uses

Closed
Closed chadtmiller.com opened this issue 0 comments

What happened

  • createInvite declares NoInvitesSpace, which nothing in crates/ raises. - requestJoin takes an invite at-uri that the handler never reads. Redemption is by the host's list for (group, caller). A client passing a wrong or revoked URI still gets in if any live invite waits. - ejectMember takes a reason that is dropped: it is not stored, logged or passed on. - role.json's default says "Granted to members who join through requestJoin". It is also what admitMember gives when roles is left out. - invite.json and createInvite.json say "invites space". The space is the inbox (fyi.opensocial.inbox).

How to see it

Read against docs/fresh at 4636e6d, the code at: lexicons/fyi/opensocial/createInvite.json:55, requestJoin.json:26, ejectMember.json:26, role.json:23, invite.json:8, createInvite.json:7. Paths are under crates/group-host/src unless they say otherwise. Severity: low.

What you expected

Drop NoInvitesSpace and requestJoin.invite (or describe the latter as ignored), describe or drop reason, and fix the two descriptions.

Where

The host, as built from 4636e6d. Found while checking the docs against the code.