Files
Pulse/scripts
pulse-triage[bot] e06abc3de9 Align Alerting, Multi-Tenant, and RBAC Help docs with auth contracts (#5478)
**Align Alerting, Multi-Tenant, and RBAC Help docs with auth contracts**

Align shipped Help documentation and mirrors for Alerting, Multi-Tenant
Organizations, and RBAC with live backend router and handler contracts:
- Document alert policy authorization (requireAlertPolicyManager:
instance
admin, org owner/admin, explicit RBAC alerts:write such as operator, or
monitoring:write token vs viewer triage actions), RequireOrgManager
refusal
of non-default org-bound tokens on /api/notifications/*, instance-admin
authority for Apprise CLI targets, and instance-admin authority for
shared
  queue/DLQ/terminal-failure actions in docs/ALERTING.md.
- Fix multi-tenant onboarding agent scopes to match agent:report,
  docker:report, and kubernetes:report routes, mark POST /api/orgs and
  DELETE /api/orgs/{id} as session-only, document member-removal token
blocking for user-owned org-bound tokens, and align live Apprise CLI and
  /api/notifications/* token limits in docs/MULTI_TENANT.md.
- Document backend RBAC actions (plan, approve, execute), additional
resources (actions, discovery), operator alerts:write policy authority,
and instance-wide wildcard token requirements (refusing org-bound tokens
  with 403) in docs/RBAC.md.
- Add router-anchored regression suite
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.

**Correct non-default org notification token guidance in Help docs**

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.

---
Fleet candidate `20261129T050357Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`d73b42160802129e331e7f420dbb6d29802f097d` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 06:08:29 +00:00
..
…
…
…
…
2026-11-28 00:28:19 +00:00