mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 01:32:00 +01:00
TenantMiddleware (CheckAccessContext -> APITokenRecord.CanAccessOrg) denies unbound and default-bound API tokens on non-default organizations with 403 access_denied, while RequireOrgManager (refuseOrgBoundToken -> tokenActsForInstance) refuses org-bound tokens with 403. Remove the incorrect claim in docs/MULTI_TENANT.md that an instance-wide settings:write token with X-Pulse-Org-ID can manage non-default organizations' /api/notifications/* endpoints, clarify docs/ALERTING.md and both frontend-modern/public/docs/ mirrors, and anchor both code checks in scripts/tests/test_alerting_and_org_auth_docs.py. Contract-Neutral: Documentation and regression tests only; no runtime behavior, API contract, or frontend source changed. Change-source: pulse-maintainer