Give permission to upload attachments to a provider

@mksd, It works now. Thank you.