Posted: April 6, 2015 at 11:00 am
|
We’ve recently upgraded Event Espresso from 4.4.8.p to 4.6.18.p After the upgrade, Users attempting to access anything in the Event Espresso menu gets the following error: You do not have access to this route. Accounts with Administator role do NOT get this error. The site requires that users that can do event management not require administrative access. We got around this earlier using the following WP Hook: Initially, this did not work, but Josh pointed out that the users need the “manage_options” capability, which resolved the issue after granting the capability to the editor role. This is the support thread for this: The upgrade was performed by deactivating the old version (4.4.8.p) of espresso and unzipping the new release (4.6.18.p). When the new version was activated, the 2 upgrade passes were run in the maintenance area. There were no issues reported. The site is a single WP installation. The only plugins on the site are Event Espresso, Event Espresso Calendar (3.2.1.p), WordPress SEO, Google Analytices by Yoast, Login Lockdown, Akismet & User Role Editor (which was activated to add the manage_options capability to the editor role and then deactivated). All of the non-Espresso plugins were deactivated and the problem was not resolved. I also tried resetting the Event Espresso Capabilities in maintenance to no avail. Has anything changed in EE relevant to permissioning between 4.4.8p & the current version? Thanks. |
|
Also, by users in the previous message, I mean users with WP Editor Role (enhanced with manage_options capability). |
Hi, are you adding the manage options back to the role after running the reset of the capabilities via the Maintenance Screen for Event Espresso? — |
|
|
managed_options was there before and after the capability reset for the Editor Role. |
|
I do see that there are 376 ee_ prefixed capabilities in the wp_options table, which are granted, by default, to the Administrator role. I assume there is a much simpler method grant full access of these capabilities to a WP User/Role than manually granting each of them. It seems that is the intention of the FHEE_management_capability hook? |
Hi Randi, A very simple method that you can use to grant full access to a specific user role is download and install the User Role Editor plugin, go in and edit the role you want to grant access to. Then 1) input The role will now have all Event Espresso capabilities, and it’s no longer required that they have the manage_options capability. |
|
The support post ‘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.