Support

Home Forums Event Espresso Premium insufficient rights

insufficient rights

Posted: June 24, 2024 at 9:32 am

Viewing 8 reply threads


Cederic Van Herreweghe

June 24, 2024 at 9:32 am

Hi,
A user of our website has the role “Events Administrator”.
When she tries to log in there is an error “You do not have sufficient permissions to access this page.”
Please help.
Kind regards,
Cederic


Sam

  • Support Staff

June 24, 2024 at 11:33 am

Hi Cederic,

Can you please let us know which page you want to access which is causing the issue?

Also, if you want you can use this plugin to adjust the user role permission:
https://wordpress.org/plugins/user-role-editor/


Cederic Van Herreweghe

June 26, 2024 at 4:40 am

Hi,
its on this page https://www.threon.com/wp-admin/admin.php?page=espresso_registrations

Kind regards,
Cederic


Rio

  • Support Staff

June 26, 2024 at 11:25 pm

Please check the Roles and Capabilities that your Event Administrator has. Refer to this article.
https://eventespresso.com/wiki/event-espresso-4-roles-permissions/

Let us know what you found.

Thanks


Cederic Van Herreweghe

June 27, 2024 at 1:48 am

I looked into the documentation.
Installed the plugin to see capabilities (user role editor)
I see almost all ee_capabilities enabled.
Then I really enabled them all (starting with ee_ … still the same error.)
Maybe there are capabilities missing ?


Tony

  • Support Staff

June 27, 2024 at 4:55 pm

Hmm strange!

So just to confirm, were you editing the Role when adding the capabilities above, or editing the users capabilities?

Add this code to the site:

https://gist.github.com/Pebblo/cabaf25a14bcd1fc82cf71f1e408e693

Add that to a custom functions plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Then past the out for the above user’s account when they get the access error message here in a private reply, please.


Cederic Van Herreweghe

July 1, 2024 at 2:55 am

This reply has been marked as private.


Tony

  • Support Staff

July 1, 2024 at 5:27 am

Sure, send the details over using this form and I’ll take a look:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

July 1, 2024 at 5:42 am

Just to note, as far as I know:

“You do not have sufficient permissions to access this page.”

Is not a string within WordPress core, so this is some code running within another plugin or the theme that is running on one of EE routes and looking for a specific capability (probably manage_options) and then using die().

The code I gave you above also confirms this as its hooking into when WordPress core outputs the message and here nothing is output.

Viewing 8 reply threads

The support post ‘insufficient rights’ 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