diff --git a/src/views/portfolio/projects/ComponentDetailsModal.vue b/src/views/portfolio/projects/ComponentDetailsModal.vue index f302ada12..5506d9383 100644 --- a/src/views/portfolio/projects/ComponentDetailsModal.vue +++ b/src/views/portfolio/projects/ComponentDetailsModal.vue @@ -367,7 +367,7 @@ size="md" variant="outline-primary" v-b-modal.componentPropertiesModal - v-permission="PERMISSIONS.PORTFOLIO_MANAGEMENT" + v-permission="PERMISSIONS.VIEW_PORTFOLIO" >{{ $t('message.properties') }} {{ diff --git a/src/views/portfolio/projects/ComponentPropertiesModal.vue b/src/views/portfolio/projects/ComponentPropertiesModal.vue index de6aba266..8effce1d0 100644 --- a/src/views/portfolio/projects/ComponentPropertiesModal.vue +++ b/src/views/portfolio/projects/ComponentPropertiesModal.vue @@ -20,6 +20,7 @@ size="md" variant="outline-danger" @click="deleteProperty" + v-permission="PERMISSIONS.PORTFOLIO_MANAGEMENT" :disabled="!hasRowsSelected" >{{ $t('message.delete') }} @@ -29,6 +30,7 @@ {{ $t('message.create_property') }} @@ -39,9 +41,11 @@