Hi,
I’m using the Parse S3 files adapter. All users in my app are logged in and authenticated with Parse using the JS SDK.
Here’s the issue: If I set the following server options:
fileUpload: {
enableForPublic: true,
enableForAnonymousUser: true,
enableForAuthenticatedUser: true,
}
All uploads work fine as expected. BUT if I set the public upload to FALSE:
fileUpload: {
enableForPublic: false,
enableForAnonymousUser: true,
enableForAuthenticatedUser: true,
}
I get the error: File upload by public is disabled
And none of my in-app uploads work, even though I am passing the user session token to the filesAdapter like so:
await parseFile.save({sessionToken: Parse.User.current().attributes.sessionToken});
Why can’t I disable public file uploads and still allow logged-in users to upload?