|
|
|
@ -20,7 +20,7 @@ const { $e } = useNuxtApp()
|
|
|
|
|
return openedProject.value?.sources?.[0] |
|
|
|
|
}) */ |
|
|
|
|
|
|
|
|
|
const { isUIAllowed } = useRoles() |
|
|
|
|
const { isUIAllowed, baseRoles } = useRoles() |
|
|
|
|
|
|
|
|
|
const { base } = storeToRefs(useBase()) |
|
|
|
|
|
|
|
|
@ -121,7 +121,7 @@ watch(
|
|
|
|
|
<!-- <a-tab-pane v-if="defaultBase" key="erd" tab="Base ERD" force-render class="pt-4 pb-12"> |
|
|
|
|
<ErdView :source-id="defaultBase!.id" class="!h-full" /> |
|
|
|
|
</a-tab-pane> --> |
|
|
|
|
<a-tab-pane v-if="isUIAllowed('newUser')" key="collaborator"> |
|
|
|
|
<a-tab-pane v-if="isUIAllowed('newUser', { roles: baseRoles })" key="collaborator"> |
|
|
|
|
<template #tab> |
|
|
|
|
<div class="tab-title" data-testid="proj-view-tab__access-settings"> |
|
|
|
|
<GeneralIcon icon="users" class="!h-3.5 !w-3.5" /> |
|
|
|
|