Home Forums Plugin Support WP User Frontend Pro User which is not author can edit :s ?!

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  noomia 6 years, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2907

    noomia
    Participant
    Post count: 115

    I have a problem.

    I have a user which is “Editor”. I have a post (post id : 755). The edit page is myurl.com/edit-post/

    The user, which is not the author of the page, can go through this url myurl.comedit-post/?pid=755 and edit the page. Have I made a mistake or something wrong ???

     

    Thanks

     

    #2909

    Tareq Hasan
    Keymaster
    Post count: 2831

    Editor has the ability to edit any users post. But as I see right now in the code, the plugin has a permission related bug. Seems like I forgot to add checking user and permission ๐Ÿ˜ฏ

    #2965

    noomia
    Participant
    Post count: 115

    Hi Tareq !
    I made a mistake, it's an “author” role, so yes there is a problem of permission :s !

    Did you correct it ?

    #2968

    Tareq Hasan
    Keymaster
    Post count: 2831

    It's been corrected. Only now the original post author or Editor or Admin can edit a post.

    #2970

    noomia
    Participant
    Post count: 115

    Thanks ๐Ÿ™‚

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

The topic ‘User which is not author can edit :s ?!’ is closed to new replies.