Skip Navigation

[Resolved] Access-created user role unable to delete posts even though it has permissions

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 20 replies, has 2 voices.

Last updated by Shane 4 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1361477
Screen Shot 2019-10-14 at 12.39.10 PM.png

I created a new user role from a duplication of the Editor Role called "Message Manager". This role has the ability to post/edit/delete all pages and posts/cpt just like an editor can.

When they go to post a new post/cpt they get an error "Cheatin’ uh? Sorry, you are not allowed to access this site." But the post/cpt still gets posted.

Also the "Move to Trash" link on all pages/posts/cpt is now missing when logged into her account. I still see the links logged into my admin account.

Is this a known issue? How can I fixe this?

#1361585

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ronald,

Thank you for getting in touch.

I would like to understand your exact setup.

Would you mind sending me a screenshot of the permissions of the post type that the user is not able to delete?

Thanks,
Shane

#1361589
Screen Shot 2019-10-14 at 3.14.33 PM.png
Screen Shot 2019-10-14 at 3.14.21 PM.png
Screen Shot 2019-10-14 at 3.14.05 PM.png
Screen Shot 2019-10-14 at 3.13.38 PM.png

Here you go, please let me know if you need anything else!

#1361627

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

H Ronald,

Unfortunately you sent me the permissions of the role itself and not the permissions of the post type.

I would need to see a screenshot of this because it could be that you're not allowing the user to delete from the post permissions side.

Thanks,
Shane

#1361643
Screen Shot 2019-10-14 at 3.28.55 PM.png
Screen Shot 2019-10-14 at 3.28.47 PM.png
Screen Shot 2019-10-14 at 3.28.37 PM.png

Ah I apologize, here you go

#1362065

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ronald,

Thank you for you screenshots.

Based on this I was able to confirm that the settings are indeed correct for your user role to be able to delete the posts. Perhaps there might be a plugin conflict.

The next step is that I would recommend that you temporarily disable all your non-toolset plugins and check again. If there are no improvements would you mind allowing me to have admin access to the site so that I can do some further checks ?

Thanks,
Shane

#1362229

Oh and I forgot to tell you, I did disable all plugins but Toolset and it still happened.

#1362271

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Roland,

Ok so i've done some testing on your site and it seems the issue needs some further debugging by our 2nd tier supporters.

It seems to be an issue specific to the site as i'm not able to replicate this on a fresh install.

Would it be possible for me to install the duplicator plugin to grab a copy of the site so that I can test further and escalate your ticket?

Please let me know.

Thanks,
Shane

#1362731

Yes, you can use the duplicator plugin to make a copy of the site. I went ahead and deleted all user accounts other than mine, yours, angelica's (the original account with the issue) and your test account for security reasons so it should be good to clone.

#1363017

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ronald,

I've escalated your ticket to our 2nd tier supporters for further debugging on this issue.

I will let you know anything once the information is available.

Thanks,
Shane

#1364243

I am just checking to see if there was any update on the situation?

#1364283

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ronald,

Yes there is an update on this but currently no solution at the moment.

We have created an erratas page for this .
https://toolset.com/errata/cannot-delete-posts-using-a-non-administrator-user-if-there-is-an-access-post-group/

I will let you know as soon as we have an update on this.
Thanks,
Shane

#1364287

Ok thanks for yall's help!

#1364299

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Escalated

#1367709

Good morning Shane, I hope you're having a great week so far! I just wanted to check in and see if yall have made any headway on this issue?