peppa/packages/db/migrations
Асель 56b6224587 PEP-12: share projects with other users
- project_members / project_invites; owner adds people by Gitea login,
  invitations are applied at first login; members get the owner's access
  except member management; a member can leave
- access everywhere via projectForUser / userProjectIds (owner or member):
  web inbox, sessions, project pages, MCP
- shareProject / unshareProject: login checked in Gitea, repo collaborator
  (write) added by the owner's client or peppa-bot; missing admin rights
  don't block membership (repoAccess flag)
- web: Members block on the project page, 'shared' badge; MCP:
  list_members, add_member, remove_member; Help updated
- tests: 5 sharing journeys on mock-gitea (64 e2e total, green); test DB
  now also clears users and OAuth clients between files
- OpenSpec: pep-12 archived (project-sharing, web-auth)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-12 22:35:56 +05:00
..
meta PEP-12: share projects with other users 2026-11-12 22:35:56 +05:00
0000_safe_shiver_man.sql Add Peppa MCP server, core domain package and peppa CLI 2026-11-12 19:18:35 +05:00
0001_chunky_dreadnoughts.sql Adopt Cowork harness lessons: blocking hooks, generations, resume 2026-11-12 19:34:07 +05:00
0002_happy_preak.sql Add Codex provider, mock agents and end-to-end CJM suite 2026-11-12 20:09:43 +05:00
0003_material_wild_child.sql Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
0004_loving_wasp.sql PEP-1: web platform with Gitea login, projects, goals, tasks, sessions 2026-11-12 20:55:02 +05:00
0005_sloppy_blue_marvel.sql PEP-7: autonomous mode — board moves start agents, PM only for stoppers 2026-11-12 21:21:11 +05:00
0006_crazy_stellaris.sql PEP-8: remote MCP for ChatGPT with Peppa as OAuth 2.1 server 2026-11-12 21:38:09 +05:00
0007_empty_crystal.sql PEP-13: connect Claude from the web for remote users 2026-11-12 22:06:37 +05:00
0008_wandering_jetstream.sql PEP-12: share projects with other users 2026-11-12 22:35:56 +05:00