Skip to content

Commit 4023a2a

Browse files
committed
fix: Use correct ACL permissions for creating resources
1 parent ba97295 commit 4023a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AclPermissionsEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { ACL, PERMISSIONS, RDF, REPORT } from './Vocabularies';
99

1010
export const ACL_TRANSLATE_MAP: Record<string, { target: string; parent?: string }> = {
1111
[PERMISSIONS.Append]: { target: ACL.Append },
12-
[PERMISSIONS.Create]: { target: ACL.Write, parent: ACL.Append },
12+
[PERMISSIONS.Create]: { target: ACL.Append, parent: ACL.Append },
1313
[PERMISSIONS.Delete]: { target: ACL.Write, parent: ACL.Write },
1414
[PERMISSIONS.Modify]: { target: ACL.Write },
1515
[PERMISSIONS.Read]: { target: ACL.Read },

0 commit comments

Comments
 (0)