Invite an address straight to a folder: invitations on the shard #185
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!185
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-123-folder-invitations"
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?
Task: NEC-123 — https://projectron.nerchure.com/tasks/123
Server half of "invite straight to a folder". Collaborating took two invitations — a seat in the organisation, then a per-folder grant from the members dialog after they joined — and the second is the one people missed.
folder_invitations(folder, organisation, address, role, inviter, expiry, claimed/revoked/lapsed). No key material.POST/GET/DELETE /folders/:id/invitations: owners only, 404 to non-members, 409ALREADY_IN_ORGANISATIONfor someone already seated (the client adds them directly instead), 403NOT_HOSTEDon self-hosted servers because a claim matches on an address only the identity service verifies./auth/join(every way in) and on/auth/session(catch-up), only inside the folder's organisation and only while the inviter still owns the folder; otherwise marked lapsed and shown to the owners.GET /folders/awaiting-keys: members of folders the caller owns who lack a key the caller holds, for the plugin to wrap automatically (next pull request).docs/ux-review-relay.md: the UX comparison with Relay that motivated this and the cards that follow (NEC-124 to NEC-128).security-model.md: the new metadata listed under "What is not encrypted".Mutation-checked: removing the organisation filter, the inviter-still-owner rule, the expiry, the hosted-only refusal and the already-seated refusal each fails a test.
Changelog
Owners can invite an email address straight to a shared folder, and the person becomes a member of it the moment they join.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NnpsVLx9NmMG2N2nJnA8mR