fix(core): Fix PermissionChecker.check, and add additional unit tests (#8528)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-02 12:21:53 +01:00
committed by GitHub
parent 612771e032
commit 5832d3ca46
6 changed files with 520 additions and 378 deletions

View File

@@ -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,