diff --git a/packages/nocodb/src/models/View.ts b/packages/nocodb/src/models/View.ts index 9471223a6f..57d7c154f3 100644 --- a/packages/nocodb/src/models/View.ts +++ b/packages/nocodb/src/models/View.ts @@ -1278,7 +1278,7 @@ export default class View implements ViewType { 'password', 'meta', 'uuid', - ...(includeCreatedByAndUpdateBy ? ['owned_by', 'created_by'] : []) + ...(includeCreatedByAndUpdateBy ? ['owned_by', 'created_by'] : []), ]); const oldView = await this.get(context, viewId, ncMeta); @@ -2010,6 +2010,7 @@ export default class View implements ViewType { 'meta', 'created_by', 'owned_by', + 'lock_type', ]); if (!insertObj.order) { diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts index df273fb338..06214a8059 100644 --- a/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts +++ b/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts @@ -422,6 +422,7 @@ export class ExportService { filter: view.filter, sorts: view.sorts, lock_type: view.lock_type, + owned_by: view.owned_by, columns: view.columns.map((column) => { const { id,