mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Update PermissionTable to also test all ACP cases
This commit is contained in:
@@ -58,7 +58,7 @@ export class AcpReader extends PermissionReader {
|
||||
const permissionMap: PermissionMap = new IdentifierMap();
|
||||
|
||||
// Resolves the targets sequentially so the `resourceCache` can be filled and reused
|
||||
for (const target of requestedModes.keys()) {
|
||||
for (const target of requestedModes.distinctKeys()) {
|
||||
permissionMap.set(target, await this.extractPermissions(target, credentials, resourceCache));
|
||||
}
|
||||
return permissionMap;
|
||||
|
||||
Reference in New Issue
Block a user