Support

Home Forums Roles and Permissions Add-ons (EE3) User Permissions and the Possibility of Accidentally Hitting Delete!

User Permissions and the Possibility of Accidentally Hitting Delete!

Posted: May 11, 2015 at 8:54 pm

Viewing 3 reply threads


David Grandmaison

May 11, 2015 at 8:54 pm

Hey guys!

I want to share access to the event overview page with a few key members of my Team. One thing I am concerned with is the accidental selection of the Delete button as they are checking event bookings.

Is there a way to remove the Delete option for these users or a better work around for checking the bookings that will remove the possibility of accidentally selecting Delete?

I have played around with User Permission settings and I cannot seem to figure out a means of protecting us against this.

Thanks for any advice you can provide.

Dave


Garth

  • Support Staff

May 11, 2015 at 10:13 pm

Hi David,

How are you today?

What version of Event Espresso are you using? What access do you want your staff to have and what can they do?


David Grandmaison

May 12, 2015 at 7:33 am

Garth!

I’m using EE 3.1.37.3.

I need my staff to be able to see what events are booked and access the attendee list.

Thanks!

Dave


Lorenzo Orlando Caum

  • Support Staff

May 12, 2015 at 8:53 am

Hi, this sample function will hide that button from users that are not WordPress admins:

add_action('admin_head', 'my_custom_fonts');
function my_custom_fonts() {
global $user_level;
    if ($user_level != '10' ) {
  echo '';
}}

It can be added to your child theme’s functions.php file or via a site specific plugin:

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


Lorenzo

Viewing 3 reply threads

The support post ‘User Permissions and the Possibility of Accidentally Hitting Delete!’ 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