Commit f768e0a
committed
fix(watch): alert hygiene — no plan gate, own-email only, atomic unsubscribe (TRI-12820)
- the plan half of the alert gate is removed (billing re-attaches later);
denial is feature flag or missing email transport only
- an alert can only go to the user's own account email; anything else is 400
- unsubscribe is a compare-and-swap (409 on conflict); the summary toast id is
stable; watch tests no longer import env.server; per-tick re-authorization
reads the primary, not the replica1 parent ceb0cb1 commit f768e0a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
0 commit comments