Files
gpustack-ui/src/atoms
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-21 19:58:16 +08:00
2026-02-04 14:58:48 +08:00
2026-05-06 12:27:22 +08:00
2026-02-03 15:41:16 +08:00
2026-03-17 16:35:55 +08:00
2024-12-27 14:56:06 +08:00
2026-02-12 12:20:05 +08:00
2026-02-06 14:27:05 +08:00
2026-04-22 13:16:48 +08:00
2024-12-27 14:56:06 +08:00