Skip to content

M2a: control schema and local accounts (BR-36) #92

Closed

Description

@amar-python

Part of ART Milestone 2 (BR-36; ADR-0003; docs/art/milestone-0-assessment.md §5).

  • Alembic migration: control.tenants, control.users, control.memberships(user, tenant, role), control.sessions.
  • Local accounts: password hashed with stdlib hashlib.scrypt (no new dependency, works air-gapped).
  • POST /api/auth/login returns an opaque session token stored hashed in control.sessions (revocable, expiry). POST /api/auth/logout.
  • Bootstrap: a CLI script creates the first tenant and tenant admin.

Verified by: integration tests for login success, wrong password, expired and revoked sessions.


Generated by Claude Code

Activity

  1. added this to the ART extension milestone on Oct 26, 2026
  2. added a commit that references this issue on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    artART framework extension workenhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions