feat: add workspace ownership transfer #35

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

Problem

There is no way to transfer workspace ownership to another member. If an owner needs to leave or change roles, the workspace becomes permanently tied to their account.

Acceptance Criteria

  • Add transferOwnership(User $newOwner) method to WorkspaceManager
  • Require the new owner to already be a member
  • Downgrade the current owner to admin role
  • Promote the new member to owner role
  • Log the transfer in EntitlementLog or an audit table
  • Fire a WorkspaceOwnershipTransferred event
  • Add tests

Discovered during automated scan (issue #3)

## Problem There is no way to transfer workspace ownership to another member. If an owner needs to leave or change roles, the workspace becomes permanently tied to their account. ## Acceptance Criteria - Add `transferOwnership(User $newOwner)` method to `WorkspaceManager` - Require the new owner to already be a member - Downgrade the current owner to `admin` role - Promote the new member to `owner` role - Log the transfer in `EntitlementLog` or an audit table - Fire a `WorkspaceOwnershipTransferred` event - Add tests _Discovered during automated scan (issue #3)_
Clotho added the
discovery
P3
labels 2026-02-20 16:39:55 +00:00
Clotho was assigned by Charon 2026-02-20 23:46:45 +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.