[FR-11, FR-12, FR-14, FR-15; QR-03, QR-07, QR-08] Enroll users and manage per-device credentials #3

Open
opened 2026-10-23 21:25:57 +02:00 by amiryahaya · 0 comments
Owner

Outcome

An invited friend can create one private account, enroll devices, and revoke access without a web UI.

Acceptance

  • Operator issues and revokes short-lived, single-use invites; replay and expiry fail.
  • raisin-mem join creates one user and first device token; enrollment explains uploaded content and operator access.
  • An authenticated device creates a separately revocable, expiring token for a second device; raisin-mem login enrolls it without another account.
  • Tokens and invite codes are stored only as hashes server-side; device secrets stay outside Git and are never logged.
  • Disabling a user blocks all devices. An account-bound recovery invite restores access to the same user ID when all tokens are lost.
  • Both MCP and management requests reject missing, expired, revoked, or foreign credentials.

Requirements: FR-11, FR-12, FR-14, FR-15; QR-03, QR-07, QR-08. SRS scenarios 7, 10–11, 14. Reference: docs/SRS.md.

## Outcome An invited friend can create one private account, enroll devices, and revoke access without a web UI. ## Acceptance - Operator issues and revokes short-lived, single-use invites; replay and expiry fail. - `raisin-mem join` creates one user and first device token; enrollment explains uploaded content and operator access. - An authenticated device creates a separately revocable, expiring token for a second device; `raisin-mem login` enrolls it without another account. - Tokens and invite codes are stored only as hashes server-side; device secrets stay outside Git and are never logged. - Disabling a user blocks all devices. An account-bound recovery invite restores access to the same user ID when all tokens are lost. - Both MCP and management requests reject missing, expired, revoked, or foreign credentials. Requirements: FR-11, FR-12, FR-14, FR-15; QR-03, QR-07, QR-08. SRS scenarios 7, 10–11, 14. Reference: `docs/SRS.md`.
amiryahaya changed title from Enroll users and manage per-device credentials to [FR-11, FR-12, FR-14, FR-15; QR-03, QR-07, QR-08] Enroll users and manage per-device credentials 2026-10-23 21:31:10 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/raisin-mem#3
No description provided.