Files
Pulse/scripts/tests
pulse-triage[bot] cf05cb42e8 Align Multi-Tenant, Audit, and Webhook Help with tenant access policy
Update docs/MULTI_TENANT.md, docs/AUDIT_LOGGING.md, docs/WEBHOOKS.md, and
their shipped mirrors in frontend-modern/public/docs/ to match current
multi-organization tenant resolution and default-organization access control
in internal/api/middleware_tenant.go, internal/api/org_access_policy.go,
internal/api/org_handlers.go, and internal/api/router_routes_licensing.go:

- Replace the outdated claim that default-organization members cannot be
  managed with the shipped shared-process policy: default access requires
  instance administration or explicit default viewer membership, instance
  admins manage default members via POST /api/orgs/default/members and
  DELETE /api/orgs/default/members/{userId}, first startup runs the
  one-time RBAC viewer migration recorded in
  default-org-access-migration.json, and active WebSocket/SSE streams
  re-check organization access every 10 seconds.
- Document the actual tenant-context resolution order (X-Pulse-Org-ID,
  pulse_org_id browser cookie, single-organization-bound API token,
  signed-in user landing organization, then default), 403
  default_org_access_denied, and organization-neutral bootstrap routes.
- Add the five registered session-only invitation and incoming-share
  routes to the Multi-Tenant API reference table.
- Bind these Help statements and mirrors to live Go source in
  scripts/tests/test_admin_docs.py.

Contract-Neutral: Documentation and static doc-parity test alignment only with no runtime, API, schema, or subsystem contract delta.
Change-source: pulse-maintainer
2026-11-28 18:51:15 +00:00
..