mirror of
https://github.com/nocodb/nocodb.git
synced 2026-06-01 20:22:08 +00:00
feat: complete view permissions matrix — forms, personals, polish
This commit is contained in:
@@ -836,21 +836,11 @@ defineOptions({
|
||||
@close="emits('closeModal')"
|
||||
/>
|
||||
|
||||
<!-- View Permissions -->
|
||||
<!-- View Permissions — dialog handles role-based gating internally
|
||||
(base owner OR personal-view owner can configure). -->
|
||||
<template v-if="isEeUI && showEEFeatures && isUIAllowed('viewCreateOrEdit')">
|
||||
<NcDivider />
|
||||
<NcTooltip v-if="isPersonalView" placement="right">
|
||||
<template #title>
|
||||
{{ $t('msg.info.viewPermissionsNotAvailableForPersonalViews') }}
|
||||
</template>
|
||||
<NcMenuItem disabled data-testid="nc-view-permissions-btn">
|
||||
<div class="w-full flex flex-row items-center gap-x-2">
|
||||
<GeneralIcon icon="ncLock" class="opacity-80" />
|
||||
<div>{{ $t('title.viewPermissions') }}</div>
|
||||
</div>
|
||||
</NcMenuItem>
|
||||
</NcTooltip>
|
||||
<PaymentUpgradeBadgeProvider v-else :feature="PlanFeatureTypes.FEATURE_VIEW_PERMISSIONS">
|
||||
<PaymentUpgradeBadgeProvider :feature="PlanFeatureTypes.FEATURE_VIEW_PERMISSIONS">
|
||||
<template #default="{ click }">
|
||||
<NcMenuItem
|
||||
inner-class="w-full"
|
||||
|
||||
Reference in New Issue
Block a user