You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/models/v2/staging-v2.model.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -256,15 +256,15 @@ class StagingV2 extends Model {
256
256
){
257
257
if(unresolvedFields.length>0){
258
258
thrownewError(
259
-
`Restricted data: cannot determine the owner of this ${table} record from ${unresolvedFields.join(', ')}. Only the home organization can modify this record.`,
259
+
`Restricted data: cannot determine the owner of this ${table} record from ${unresolvedFields.join(', ')}. Only the home organization that created this record can modify it.`,
260
260
);
261
261
}
262
262
263
263
if(ownerOrgUids.length===0){
264
264
if(!requireOwner)return;
265
265
266
266
thrownewError(
267
-
`Restricted data: cannot determine the owner of this ${table} record. Only the home organization can modify this record.`,
267
+
`Restricted data: cannot determine the owner of this ${table} record. Only the home organization that created this record can modify it.`,
268
268
);
269
269
}
270
270
@@ -276,7 +276,7 @@ class StagingV2 extends Model {
276
276
277
277
if(!homeOrg||nonHomeOrgUid){
278
278
thrownewError(
279
-
`Restricted data: cannot modify this ${table} record with orgUid '${nonHomeOrgUid}'. Only the home organization can modify this record.`,
279
+
`Restricted data: cannot modify this ${table} record with orgUid '${nonHomeOrgUid}'. Only the home organization that created this record can modify it.`,
280
280
);
281
281
}
282
282
}
@@ -328,7 +328,7 @@ class StagingV2 extends Model {
328
328
);
329
329
if(!existingRecord&&!payloadHasOwnershipFields){
330
330
thrownewError(
331
-
`Restricted data: cannot determine the owner of this ${values.table} record. Only the home organization can modify this record.`,
331
+
`Restricted data: cannot determine the owner of this ${values.table} record. Only the home organization that created this record can modify it.`,
0 commit comments