I'm trying to make files uploaded via JS3Upload readable by a canonical ID... I'd prefer for now not to create a bucket policy, and just use JS3Upload to set the correct permissions. Is this even possible?
I've tried this:
{
"expiration": "2015-06-15T12:00:00.000Z",
"conditions": [
{"bucket": "BUCKET_GOES_HERE" },
{"acl": "READ_ACP" },
{"CanonicalUser": "CANONICAL_ID_GOES_HERE" },
["starts-with", "$key", ""],
["starts-with", "$Content-Type", ""]
]
}
But it's not working... there really isn't much documentation out there for this type of thing. Can someone make a suggestion?
Thank you!
Help with policy / ACLRe: Help with policy / ACLDoes "CanonicalUser" require multipart field to be passed as for ACL in HTTP POST?
If not then it should work. We've have the check S3 API to make sure. Could you contact support(at)jfileupload(dot)com about this issue? Re: Help with policy / ACLI don't know... I find the API very confusing to be honest. I've done tons of research and I can't find this specific issue addressed anywhere.
I've just sent the email, I'll post any replies here... Re: Help with policy / ACLI'm not sure we can pass grantee id in ACL with HTTP POST.
|