Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Oct 11, 2023
1 parent 395e498 commit 963465a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/api-aco/__tests__/folder.flp.security.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ describe("Folder Level Permissions", () => {
})
).resolves.toMatchObject([
{
"canManagePermissions": false,
"hasNonInheritedPermissions": false,
"id": folderC.id,
"permissions": [],
canManagePermissions: false,
hasNonInheritedPermissions: false,
id: folderC.id,
permissions: []
}
]);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/api-aco/src/utils/FolderLevelPermissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export class FolderLevelPermissions {
if (parentFolder) {
const canAccessParentFolder = await this.canAccessFolder({
...params,
folder: parentFolder,
folder: parentFolder
});

if (!canAccessParentFolder) {
Expand Down

0 comments on commit 963465a

Please sign in to comment.