Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Eric Holter

Custom User Role Capabilities “Not allowed to Access this Page”

Hello!

I have a custom user role and I am trying to give that role the ability to use the “Edit Columns” page in the backend of WordPress. Right now that user role will get the error message “Sorry, you are not allowed to access this page.”. The custom user role has the capability “manage_admin_columns” already enabled. It also has the ability to “manage_options”. Any idea what capability I am missing that would not allow me to view the Edit Columns page?

For example the URL I am attempting to access: options-general.php?page=codepress-admin-columns&tab=columns

8 months, 3 weeks ago
Stefan van den Dungen Gronovius
Developer

The ‘manage_admin_columns’ capability is the only one that is necessary.
I tried this with the Members plugin and created a new role with just that capability and it seems to work as expected. Did you maybe set the capabilities per user as well?

8 months, 3 weeks ago

You must be logged in to reply to this topic.