Up to 50 percent off

User which is not author can edit :s ?!

This topic contains 4 reply and 2 voices, and was last updated by noomia 11 years, 6 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
April 26, 2013 at 12:52 pm 2907
noomia 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  
April 26, 2013 at 2:00 pm 2909
Tareq Hasan Tareq Hasan

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 😯

April 29, 2013 at 9:19 am 2965
noomia noomia

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

Did you correct it ?

April 29, 2013 at 9:38 am 2968
Tareq Hasan Tareq Hasan

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

April 29, 2013 at 9:43 am 2970
noomia noomia

Thanks 🙂

Viewing 4 Posts - 1 through 4 (of 4 total)