Commit 0901ca0
fix: apply impersonation to public client fallback for unauthenticated reads
When the user isn't authenticated (no session cookie), the detail
handler falls back to the anonymous public client which has no rig
handle — so AvailableTransitions returns no actions. Now when X-Impersonate
is set in hosted mode, the public client gets the impersonated rig handle
so actions reflect the impersonated user's permissions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9119d86 commit 0901ca0
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
0 commit comments