refactor(backends): rename organization_id to owner_principal_id

Aligns the InferenceBackend ownership column with the principal-based
ownership model used elsewhere (clusters, model_routes). NULL identifies
platform-curated rows shared across orgs; a populated value identifies
an org-scoped override or custom backend.
This commit is contained in:
gitlawr
2026-05-11 20:28:29 +08:00
committed by jialin
parent 125a5be91f
commit 7dd1c9ac5e
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ const BackendList = () => {
// gets a real DELETE.
const isPlatformCommunity =
item.data.backend_source === BackendSourceValueMap.COMMUNITY &&
item.data.organization_id == null;
item.data.owner_principal_id == null;
if (isPlatformCommunity) {
modalRef.current?.show({
content: 'backends.title',