Unable to use "file upload" component for forms (OOB)
In one of the forms, we added a file upload component. The form works perfect for admins (since admins have jcr:all) under the node where data is stored. however, when we upload a file, under the jcr, it creates a node of file type "nt:file" for each entry folder. Issue is the top level node by default has jcr:addChildNodes permissions for users (everyone), but that fails and user gets unauthorized error.
I had to change the permissions to jcr:all for everyone for the node where data is stored for the form for users to submit.
This doesn't seem ideal way to do it. Users should be allowed to add even files OOB. Can anyone let me know if there is any other setting other than going to crx and adding everyone giving them jcr:all persmissions on the tree?