mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Fix PermissionChecker.check, and add additional unit tests (#8528)
This commit is contained in:
committed by
GitHub
parent
612771e032
commit
5832d3ca46
@@ -63,7 +63,7 @@ export class CredentialsService {
|
||||
: credentials;
|
||||
}
|
||||
|
||||
const ids = await this.sharedCredentialsRepository.getAccessibleCredentials(user.id);
|
||||
const ids = await this.sharedCredentialsRepository.getAccessibleCredentialIds([user.id]);
|
||||
|
||||
const credentials = await this.credentialsRepository.findMany(
|
||||
options.listQueryOptions,
|
||||
|
||||
Reference in New Issue
Block a user