claude-memory-mcp/migrations/versions
Viktor Barzin f45e8ce2b3
add multi-user memory sharing with r/w permissions
- New migration 004: memory_shares and tag_shares tables with indexes
- Share individual memories or entire tags with other users (read/write)
- Tag shares are live rules: future memories with shared tags auto-visible
- Recall query merges own + shared memories via UNION, returns shared_by field
- Owner-only delete enforcement (403 for non-owners, even with write access)
- PUT /api/memories/{id} update endpoint with permission checks
- 5 new MCP SSE tools: memory_share, memory_unshare, memory_share_tag,
  memory_unshare_tag, memory_update
- Permission helper checks ownership, individual shares, and tag shares
2026-03-22 15:34:01 +02:00
..
001_initial_schema.py feat: add Alembic for database migrations 2026-03-14 10:34:45 +00:00
002_add_multi_user_and_secrets.py feat: add Alembic for database migrations 2026-03-14 10:34:45 +00:00
003_add_soft_delete_and_sync.py feat: add local SQLite cache with background sync and HA deployment 2026-03-14 12:42:39 +00:00
004_add_sharing.py add multi-user memory sharing with r/w permissions 2026-03-22 15:34:01 +02:00