Skip to content

✨ feat: add admin console, onboarding, and scoped access#20

Merged
bearlike merged 15 commits into
mainfrom
feat/v1.3.0
Feb 23, 2026
Merged

✨ feat: add admin console, onboarding, and scoped access#20
bearlike merged 15 commits into
mainfrom
feat/v1.3.0

Conversation

@bearlike

Copy link
Copy Markdown
Owner

Summary

This PR ships v1.3.0 and moves Simple Secrets Manager from API-first workflows to a product-ready experience with a complete admin console, first-time onboarding, and hardened access controls.

Product changes

  • Added a full admin console for projects, configs, secrets, tokens, and audit workflows.
  • Added first-time setup with DB-stamped onboarding and username/password login; scoped tokens are now the automation path.
  • Improved config/secret UX with deterministic project/config navigation, safer empty-config handling, and .env import preview + confirm (new/overwrite/inherited override) plus export support.
  • Polished frontend usability (token UX improvements, dark mode toggle, favicon) and rewrote README/docs to a product-first narrative.

Engineering changes

  • Introduced deterministic v2 API contracts for frontend consumption across auth, onboarding, projects/configs, secrets, tokens, and audit.
  • Hardened scope/policy enforcement and inheritance resolution paths for config/secret access.
  • Unified deployment into a single Docker image with Nginx reverse proxy (/api) and compose-first runtime.
  • Upgraded delivery/quality pipeline: uv-based Python dependency management, Ruff + MyPy quality gates, CI quality workflow, semantic container publishing, and local pre-commit/pre-push hooks.
  • Expanded automated tests for onboarding, scopes, config listing, inheritance, token metadata, and token expiry.

bearlike and others added 13 commits February 22, 2026 11:51
Introduce scoped token support and related APIs, engines and helpers. Tokens now use salted SHA256 hashes, support creation (personal/service), revocation, authentication and expiry checks; legacy token endpoints updated and new /auth/tokens/v2 endpoints added. Add scope-based authorization (Access.policy), request token middleware, audit event recording (Engines.audit) and audit API. Implement Projects and Configs engines/resources, a SecretsV2 engine with config inheritance and export (including env format), plus helpers.resolve_project_config and wiring in connection.py. Update KV and userpass resources to use token-based auth and optional open registration, bump API version to 2.0.0, and add tests for token expiry, scope matching and config inheritance.
…e friendly

- add shared serialization helpers for datetime/ObjectId-safe JSON responses

- switch audit writes/filters to slug fields with legacy id fallback matching

- return frontend-friendly config list shape with parentSlug and createdAt

- add tokens v2 list endpoint and revoke by token_id with plaintext fallback

- enable CORS via CORS_ORIGINS and allow Authorization/Content-Type headers

- extend secrets export JSON with optional metadata payload

- update README env vars/curl examples and add regression tests
…yment

- vendor SSM-Admin-Console into frontend/ with docs and agent guidance

- add frontend Dockerfile/nginx config and compose service integration

- wire local CORS defaults for frontend-backend compose integration

- update root/dev docs, ignore rules, and contribution quality instructions

- add development guide for backend-only, frontend-only, and full-stack workflows
- add deterministic onboarding stamp + lock state in MongoDB

- add /api/onboarding/status and /api/onboarding/bootstrap endpoints

- remove env-based open registration dependency for first user creation

- add frontend initial setup wizard with auto-login bootstrap token

- issue admin-scoped bootstrap token and clear stale token on 401

- document onboarding flow and add backend onboarding unit tests
Updated README to include monorepo layout information.
@bearlike bearlike changed the title Release v1.3.0: product-grade admin console, onboarding, and scoped access feat: ✨ release v1.3.0 with admin console, onboarding, and scoped access Feb 23, 2026
@bearlike bearlike changed the title feat: ✨ release v1.3.0 with admin console, onboarding, and scoped access ✨ feat: add admin console, onboarding, and scoped access Feb 23, 2026
@bearlike bearlike self-assigned this Feb 23, 2026
@bearlike bearlike merged commit 84a78f0 into main Feb 23, 2026
2 of 5 checks passed
@bearlike bearlike deleted the feat/v1.3.0 branch February 23, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant