diff --git a/packages/nocodb/src/utils/acl.ts b/packages/nocodb/src/utils/acl.ts index b60c414e9b..0f4034a3d2 100644 --- a/packages/nocodb/src/utils/acl.ts +++ b/packages/nocodb/src/utils/acl.ts @@ -70,6 +70,7 @@ const permissionScopes = { 'galleryViewGet', 'kanbanViewGet', 'gridViewUpdate', + 'calendarViewGet', 'groupedDataList', 'mmList', 'hmList', @@ -165,6 +166,7 @@ const rolePermissions: galleryViewGet: true, kanbanViewGet: true, groupedDataList: true, + calendarViewGet: true, mmList: true, hmList: true, diff --git a/packages/nocodb/src/utils/globals.ts b/packages/nocodb/src/utils/globals.ts index 39d7f4eb2a..2fa6deafd6 100644 --- a/packages/nocodb/src/utils/globals.ts +++ b/packages/nocodb/src/utils/globals.ts @@ -67,6 +67,9 @@ export const orderedMetaTables = [ MetaTable.MAP_VIEW_COLUMNS, MetaTable.KANBAN_VIEW_COLUMNS, MetaTable.KANBAN_VIEW, + MetaTable.CALENDAR, + MetaTable.CALENDAR_VIEW_COLUMNS, + MetaTable.CALENDAR_VIEW_RANGE, MetaTable.GRID_VIEW_COLUMNS, MetaTable.GRID_VIEW, MetaTable.GALLERY_VIEW_COLUMNS,