Image field has edit link even when user does not have edit capability

Support MB Frontend Submission Image field has edit link even when user does not have edit capabilityResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14051
    Ryan LauritsenRyan Lauritsen
    Participant

    I have an image field in a frontend submission form. Users do not have media library access. When the user edits a post using the frontend submission form, the image field (which already has an image that was uploaded previously) shows the edit link (pencil icon). Clicking the edit link just opens the same page the edit form is on in a new tab.

    If the current user does not have the permissions/capabilities to edit the image in the media library then shouldn't the edit icon not appear at all?

    #14062
    Anh TranAnh Tran
    Keymaster

    Hi Ryan,

    Thanks for your feedback. It's a good addition to the plugin. I'll do that in the next version.

    #14185
    Anh TranAnh Tran
    Keymaster

    This is done in this commit.

    #14196
    Ryan LauritsenRyan Lauritsen
    Participant

    Excellent. Thanks, Anh!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.