Files
gpustack-ui/src/pages/_components
gitlawrandjialin 099b419e34 fix: source owner_principal_id from current organization
OwnerPrincipalIdField was reading currentClusterAtom, which no callers
ever wrote — so every form submission ended up with
owner_principal_id=null and the backend rejected non-admins with
"Only platform admin can create global ...". Pin the field to
currentOrganizationId instead (the Org the caller is acting under).
Cluster ownership is the wrong source: a cluster_access grant lets one
Org schedule on another Org's cluster, but the new resource is still
owned by the caller's Org, and the backend enforces
owner_principal_id == ctx.current_principal_id.

Also drops the dead currentClusterAtom.
2026-05-27 13:41:32 +08:00
..
2026-05-18 20:14:28 +08:00
2026-04-24 14:28:30 +08:00
2026-05-11 19:49:21 +08:00
2025-10-17 21:11:31 +08:00
2026-04-24 14:28:30 +08:00
2026-02-03 18:21:08 +08:00