Support

Home Forums Event Espresso Premium They have all ee_ rights but still ERROR: You do not have access to this route

They have all ee_ rights but still ERROR: You do not have access to this route

Posted: April 28, 2016 at 8:54 am

Viewing 13 reply threads


Freddys

April 28, 2016 at 8:54 am

Hello,
I have 2 non-admin users that have all the ee_ rights given to them manually. I have double checked this. But they still frequently get the “ERROR: You do not have access to this route” error when trying to create, edit events on the website.

All software is up to date.

I have admin capability and rarely get this error. They seem to get this daily.

I “Reset Event Espresso Capabilities” and it worked for one user, but didn’t change the error for the other user.

Not sure for my next steps. Your help is appreciated!
– Freddys


Lorenzo Orlando Caum

  • Support Staff

April 28, 2016 at 11:04 am

Hello,

That can happen if they are trying to manually browse to a URL in the dashboard for Event Espresso while they are not logged in.

Are you able to duplicate this issue if you login using one of those accounts?


Lorenzo


Freddys

April 28, 2016 at 4:31 pm

They were not trying to manually browse to a page. Just navigating around the site using the menus and links available to them.

I logged in as one of my colleagues and tried editing an event and was presented with this error: “You do not have sufficient permissions to access this page.”

I checked her capabilities one more time to be sure and she has every single “ee_” capability attached to her.

What else can I check or try? I would like to give her access to edit and create events while not giving her Admin rights.

– Freddys


Josh

  • Support Staff

April 29, 2016 at 12:50 pm

Do you have any security plugins installed on this website at the moment?


Freddys

April 29, 2016 at 1:11 pm

Just Wordfence as a security plugin.


Josh

  • Support Staff

May 2, 2016 at 8:59 am

Hi there,

Wordfence may be affecting this because it does add a layer of security to the admin. Here are a few thing you can do that may help:

1) Verify that the “Authentication Unique Keys and Salts” are set up in your site’s wp-config.php file. Here’s a guide that outlines how:
https://codex.wordpress.org/Editing_wp-config.php#Security_Keys

2) After doing step 1, you make sure the two non-admin users clear their browsing history (cache and cookies):

https://support.google.com/accounts/answer/32050?hl=en&rd=2


Freddys

May 9, 2016 at 9:08 am

I had our web developer go through this process. He said:
“The config file actually didn’t have those auth keys and salts set up (they aren’t set up by default). I just added them–can you clear your cache in the admin account and see if it helps?”

Had the staff members clear their cache, but still no change as they are still receiving the error.

What can we try next?


Freddys

May 9, 2016 at 9:32 am

I watched them both clear their cache’s, for one user it worked, the other received this error: “You do not have sufficient permissions to access this page.”

Checked the user in WordPress again and she has ever capability that starts with “ee_”.

I hope this info helps to crack the case.
FXG


Freddys

May 9, 2016 at 9:46 am

I compared 2 of the users and found that for the user that it didn’t work, they also had the Instructor role from this plugin:
https://wisdmlabs.com/instructor-role-extension-for-learndash/

I removed that role from the user that could not access EE4, and voila, now she has access again..

So it seems that the plugin and role is affecting EE4 capability somehow..

Since it would be great to have everything work together, how do I approach this next?


Josh

  • Support Staff

May 10, 2016 at 8:33 am

You can contact Learndash and let them know and they’ll be able to fix the Instructor role plugin.


Freddys

May 13, 2016 at 12:06 pm

And the error is back. I have deactivated the Instructor Role plugin from wSDMlabs.

It was always temperamental before as well, so I’m not completely surprised that it is still happening.

What else can we investigate to find out the true cause to this issue?
– Freddys


Josh

  • Support Staff

May 13, 2016 at 12:36 pm

Does the user account have other roles granted to it, or does it just have one user role with capabilities?


Freddys

May 13, 2016 at 12:57 pm

She has multiple roles, but when it came to the EE_ capabilities, I just manually added them to her.


Josh

  • Support Staff

May 13, 2016 at 2:38 pm

It may help if there’s only one role assigned to the account, then what you do is assign all the capabilities that they need.

Viewing 13 reply threads

The support post ‘They have all ee_ rights but still ERROR: You do not have access to this route’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso