Support

Account

Home Forums Front-end Issues File upload without edit_others_posts capability

Helping

File upload without edit_others_posts capability

  • I am trying to have a front end form with a file upload field. The form is output on a single wordpress page that dynamically outputs form fields that correspond to that user. Everything works fine apart from the file upload.

    I get upload errors unless the logged in user has the “edit_others_posts” capability. I’m assuming this is because the media library is trying to save the image to the page (which is not owned by the user). Is there a way to get around this?

  • Hi @richhoward,

    Thanks for the post.

    The workaround for this issue to change the ‘file_uploader’ parameter of the acf_form() to ‘basic’ if you are using ‘wp’

    I hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘File upload without edit_others_posts capability’ is closed to new replies.