Commit 5f82b84
committed
feat(database-jobs): bake actor_id into job payload
Add jwt_public.current_user_id() to payload in add_job function body.
All jobs automatically include actor_id for RLS context propagation.
Upstream from constructive-io/constructive-db#7611 parent 7d80d3c commit 5f82b84
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments