Skip Navigation

[Resolved] Custom user role access issue

This support ticket is created 3 years, 4 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Author
Posts
#2070413
Screenshot 2021-05-27 124153.png

I have a custom user role named 'Manager', and a custom post type that was created by the theme I'm using called 'Players'. Using the Access Control plugin I've allowed Managers access under the Post Types tab, and modified the permissions under the Custom Roles tab for everything I can find related to the 'Players' cpt. However when I log in as a manager and click on 'Players' I get an error page stating, "Sorry, you are not allowed to access this page.".

#2070907

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see the exact settings for the custom user role and the access control. Can you please share the website's temporary admin login details in reply to this message?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Waqar

#2074885

Hi Matt,

Thank you for sharing the admin access.

The access control settings for the post type and custom user role seem to be correct, but it looks like the theme or some third-party plugin is overriding the user role and capabilities.

Do I have your permission to download a clone/snapshot of your website?
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )

This will allow us in troubleshooting this in more depth on a test server, without affecting the actual website.

regards,
Waqar

#2074893

Sure Waqar please go ahead and download a copy directly from the site since you have admin access, or if you need me to create a new backup and supply it I can do so as well.

Thanks,
Matt

#2078979

Thanks for the permission.

Just wanted to let you know that I'm currently running some tests with the clone and the theme and will share my findings as soon as it completes.

Thank you for your patience.

#2079033

Thank you for waiting.

There were a number of updates pending on your website's clone including the updates for the WordPress and Toolset and third-party plugins. I updated them all and the issue still persisted.

After that, I was able to narrow down the conflict to the "WP Custom Admin Interface" plugin and it is fixed when this plugin is deactivated.

Can you please deactivate the plugin on your live website and confirm the same? As I couldn't reproduce this issue with the same plugin on a test website, there seem to be some site-specific settings involved, and once confirmed you can report this conflict to the "WP Custom Admin Interface" plugin's official support for more insights.

#2088517

Understood and thank you for finding the conflict Waqar, I'll have to work around it for now. As always I appreciate the help!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.