Files
Pulse/internal/api
rcourtman 25f98814a8 Enforce single-instance RBAC seat limits and add Cloud Companion guide
Enforce the license max_users seat cap on single-instance RBAC role assignments (PUT/POST /api/admin/users/{username}/roles) so Pro seats (3) and Business unlimited seats match the published plan contract. Already-seated role edits and role removals remain allowed, store read errors fail closed, and User Access keeps the role editor open with canonical seat-limit guidance on HTTP 402 max_users without clearing saved inventory.

Add the Cloud Companion user guide (docs/CLOUD_COMPANION.md and frontend-modern/public/docs/CLOUD_COMPANION.md), register it under cloudCompanion.guides in featureReleases.json so stable builds hide it while preview and development builds serve it, link it from CloudCompanionPanel, and cover guide gating in unit and Playwright integration tests.

Contract-Neutral: Enforce the existing max_users HTTP 402 license gate on single-instance RBAC role updates and ship the preview-gated CLOUD_COMPANION.md documentation guide with no new routes, schemas, or subsystem contract boundaries.
2026-12-02 10:47:07 +00:00
..
2026-10-11 22:20:25 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-04-26 17:26:16 +01:00
2026-01-22 00:30:15 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-09-01 01:02:17 +01:00

Internal API Package

This directory contains the API server implementation for Pulse.

Important Note About frontend-modern/

The frontend-modern/ subdirectory that appears here is:

  • AUTO-GENERATED during builds
  • NOT the source code - just a build artifact
  • IN .gitignore - never committed
  • REQUIRED BY GO - The embed directive needs it here

Frontend Development Location

👉 Edit frontend files at: ${PULSE_REPOS_DIR}/pulse/frontend-modern/src/

Why This Structure?

Go's //go:embed directive has limitations:

  1. Cannot use ../ paths to access parent directories
  2. Cannot follow symbolic links
  3. Must embed files within the Go module

This is a known Go limitation and our structure works around it.