Commit f3e3b61
fix(operator): grant session SA secret-read and session-create permissions
Revert the backend-side workaround and instead grant the session
ServiceAccount the permissions it needs:
- `create` on agenticsessions — allows sessions to spawn other sessions
via backend tools
- `get` on secrets — allows backend to validate ambient-runner-secrets
using the caller's token (preserving user RBAC enforcement)
This keeps the backend's RBAC enforcement intact while giving session
ServiceAccounts the access they need for backend tool operations.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8b856fa commit f3e3b61
File tree
2 files changed
+8
-4
lines changed- components
- backend/handlers
- operator/internal/handlers
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
620 | | - | |
621 | | - | |
| 619 | + | |
622 | 620 | | |
623 | 621 | | |
624 | 622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2455 | 2455 | | |
2456 | 2456 | | |
2457 | 2457 | | |
2458 | | - | |
| 2458 | + | |
2459 | 2459 | | |
2460 | 2460 | | |
2461 | 2461 | | |
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
2465 | 2471 | | |
2466 | 2472 | | |
2467 | 2473 | | |
| |||
0 commit comments