feat: add workspace invitation resend functionality #23

Open
opened 2026-02-20 16:38:35 +00:00 by Clotho · 0 comments
Member

Problem

Models/WorkspaceInvitation.php has no ability to resend an expired or missed invitation. Users must cancel and re-invite, which creates a new record and loses context.

Acceptance Criteria

  • Add resend() method to WorkspaceInvitation that:
    • Generates a fresh token
    • Extends expiry from now (configurable, default 7 days)
    • Increments a resend_count counter
    • Records last_resent_at timestamp
    • Re-sends the invitation notification
  • Add rate limiting: maximum N resends within 24 hours
  • Add migration for new columns
  • Add tests

Discovered during automated scan (issue #3)

## Problem `Models/WorkspaceInvitation.php` has no ability to resend an expired or missed invitation. Users must cancel and re-invite, which creates a new record and loses context. ## Acceptance Criteria - Add `resend()` method to `WorkspaceInvitation` that: - Generates a fresh token - Extends expiry from now (configurable, default 7 days) - Increments a `resend_count` counter - Records `last_resent_at` timestamp - Re-sends the invitation notification - Add rate limiting: maximum N resends within 24 hours - Add migration for new columns - Add tests _Discovered during automated scan (issue #3)_
Clotho added the
discovery
P3
labels 2026-02-20 16:38:35 +00:00
Clotho was assigned by Charon 2026-02-20 23:46:43 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:55 +00:00
Sign in to join this conversation.
No description provided.