mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(editor): Show credential share info only to appropriate users (#8020)
## Summary The credential owner should not see the sharing info box 
This commit is contained in:
@@ -41,7 +41,15 @@
|
||||
})
|
||||
}}
|
||||
</n8n-info-tip>
|
||||
<n8n-info-tip v-if="credentialPermissions.read" class="mb-s" :bold="false">
|
||||
<n8n-info-tip
|
||||
v-if="
|
||||
credentialPermissions.read &&
|
||||
credentialPermissions.share &&
|
||||
!credentialPermissions.isOwner
|
||||
"
|
||||
class="mb-s"
|
||||
:bold="false"
|
||||
>
|
||||
<i18n-t keypath="credentialEdit.credentialSharing.info.reader">
|
||||
<template v-if="!isCredentialSharedWithCurrentUser" #notShared>
|
||||
{{ $locale.baseText('credentialEdit.credentialSharing.info.notShared') }}
|
||||
|
||||
Reference in New Issue
Block a user