Skip to content

Commit

Permalink
Update ACL in input schema
Browse files Browse the repository at this point in the history
* Update ACL in input schema
  • Loading branch information
msudgh authored Feb 4, 2024
1 parent 1fe8d74 commit 601a5d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ custom:
metadata:
foo: bar
bar: foo
acl: public-read
```
## Deployments
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const storage = z.object({
actions: z.array(z.string()).default(['upload', 'delete']),
prefix: z.string().default(''),
enabled: z.boolean().default(true),
acl: z.enum(objectCannedACLs).default(ObjectCannedACL.authenticated_read),
acl: z.enum(objectCannedACLs).optional(),
metadata: z.record(z.string(), z.string()).optional(),
tags: z.record(z.string(), z.string()).default({}),
})
Expand Down

0 comments on commit 601a5d2

Please sign in to comment.