Skip Navigation

[Resolved] Issues with custom roles

This support ticket is created 6 years, 8 months 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#688185

Hey guys, I'm having trouble with a custom role that I need to set up. I have created a screencast to walk through the issue.
hidden link

Thanks!

#688286

Hi, please try these troubleshooting steps first:
- Go to Toolset > Access Control > Post Types and check the "Order" post type. Make sure it's under Access control, and make sure your custom role has all permissions for the Order post type.
- Also check the standard WordPress Post type, and make sure it's under Access control as well. Configure these permissions however you would like, then log out, log in, and test as a Customer Service User once more.

Please let me know the results and we can go from there.

#688367

Okay that seems to give access to orders, which is great! But now they can also see posts, media and comments. Anyway to avoid those areas being available?

#692078

Media privileges can be rescinded in Toolset > Access Control > Post Types > Media panel. Then you can go to the Post panel and remove all Post permissions except "Edit Own", "Delete Own" and "Read" for this custom role, which will limit the types of actions this User can perform in wp-admin, but it will not completely remove the Posts menu item. I'll try to get some feedback about Posts and Comments from my 2nd tier support team and update you shortly.

#716657

My developers have let me know that WooCommerce checks the edit_post capability, and requires that capability to manage orders. So there's not a good way to separate Orders and Posts capabilities in wp-admin. We plan to add some new permissions tables for Media and Comments in the future, but at this time Comments will appear any time edit_post is granted.

#717724

Thanks! I was able to hide those menus with a bit of code so I think we're all set.