diff --git a/packages/nc-gui/components/project/AllTables.vue b/packages/nc-gui/components/project/AllTables.vue index 5b44080f6a..4affed1129 100644 --- a/packages/nc-gui/components/project/AllTables.vue +++ b/packages/nc-gui/components/project/AllTables.vue @@ -9,7 +9,7 @@ const { openedProject } = storeToRefs(useBases()) const isNewBaseModalOpen = ref(false) -const isDataSourceLimitReached = computed(() => Number(openedProject.value?.bases?.length) > 1) +const isDataSourceLimitReached = computed(() => Number(openedProject.value?.sources?.length) > 1) const { isUIAllowed } = useRoles() diff --git a/packages/nc-gui/lib/acl.ts b/packages/nc-gui/lib/acl.ts index 05e6e73a03..29db4185e6 100644 --- a/packages/nc-gui/lib/acl.ts +++ b/packages/nc-gui/lib/acl.ts @@ -70,6 +70,7 @@ const rolePermissions = { csvImport: true, baseRename: true, baseDuplicate: true, + sourceCreate: true, }, }, [ProjectRoles.EDITOR]: {