Commit b090ef2
committed
Resolves #6464(FR-2480)
## Summary
- Fix `scaling_group` parameter in session delegation: use `values.owner.resourceGroup` instead of `values.owner.project`
- When a superadmin delegates session creation via Session Owner Setter, the wrong field was sent as `scaling_group`, causing API errors
## Changes
- `react/src/hooks/useStartSession.tsx` (L251): `values.owner.project` → `values.owner.resourceGroup`
## Verification
```
=== Relay: PASS ===
=== Lint: PASS ===
=== Format: PASS ===
=== TypeScript: PASS ===
=== ALL PASS ===
```
## Test plan
- [ ] Log in as superadmin
- [ ] Open Session Launcher → enable "Set Session Owner"
- [ ] Enter a regular user's email, select access key, project, and resource group
- [ ] Create session → verify no "Scaling group not accessible" error
- [ ] Verify session is created in the correct resource group
1 parent 96cf9f4 commit b090ef2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
0 commit comments