feat: add bulk workspace invitation support #36

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

Problem

Models/Workspace.php::invite() only supports single-user invitations. Teams often need to invite multiple users at once.

Acceptance Criteria

  • Add inviteMany(array $emails, string $role = '''member''') method to Workspace model
  • Handle duplicate emails gracefully (skip if already invited or a member)
  • Return summary: ['''sent''': [...], '''skipped''': [...], '''errors''': [...]]
  • Queue notifications individually (not in bulk) to respect mail rate limits
  • Add tests for mixed valid/invalid/duplicate email scenarios

Discovered during automated scan (issue #3)

## Problem `Models/Workspace.php::invite()` only supports single-user invitations. Teams often need to invite multiple users at once. ## Acceptance Criteria - Add `inviteMany(array $emails, string $role = '''member''')` method to `Workspace` model - Handle duplicate emails gracefully (skip if already invited or a member) - Return summary: `['''sent''': [...], '''skipped''': [...], '''errors''': [...]]` - Queue notifications individually (not in bulk) to respect mail rate limits - Add tests for mixed valid/invalid/duplicate email scenarios _Discovered during automated scan (issue #3)_
Clotho added the
discovery
P3
labels 2026-02-20 16:39:56 +00:00
Clotho was assigned by Charon 2026-02-20 23:46:46 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:50 +00:00
Sign in to join this conversation.
No description provided.