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:
Csaba Tuncsik
2023-12-14 13:36:36 +01:00
committed by GitHub
parent fcb8b91f37
commit 329e5bf9ee
4 changed files with 26 additions and 2 deletions

View File

@@ -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) {