mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Add back credential use permission (#8023)
## Summary A shared credential is not selectable in NDV Aim If a credential is shared with a user they should be able to select it in node details view
This commit is contained in:
@@ -420,7 +420,7 @@ export function useNodeHelpers() {
|
||||
.getCredentialsByType(credentialTypeDescription.name)
|
||||
.filter((credential: ICredentialsResponse) => {
|
||||
const permissions = getCredentialPermissions(currentUser, credential);
|
||||
return permissions.read;
|
||||
return permissions.use;
|
||||
});
|
||||
|
||||
if (userCredentials === null) {
|
||||
|
||||
Reference in New Issue
Block a user