Files
Pulse/internal/api/alerting
courtmanr@gmail.com d88719768e Let a provider set up a client's alert destinations
A provider opening a client workspace arrives as that organization's
owner. Since instance administration was split from organization
management, every destination read answered 403, so the alert page showed
"Unable to load notification settings" on every provider MSP install and
no client could have an alert route.

Destinations are per organization, so the route now admits that
organization's managers in a session. Tokens bound to an organization stay
refused, because the responses hold reusable webhook URLs and bot tokens.

Apprise CLI stays with instance administrators. A CLI target is a bare
argument run as this server: --attach=/etc/passwd would send a server file
to a destination the owner chose, which on a shared install crosses the
tenant boundary. New CLI targets are refused on save and inline test, API
mode targets cannot be carried across, and any target starting with a dash
is dropped for everyone.

The page also read instance-only relay settings on licensed installs, which
would have failed the whole load, so it now skips them for such sessions.
2026-11-06 09:09:17 +00:00
..