Support

Home Forums Event Espresso Premium Switching Authors to another User Role

Switching Authors to another User Role

Posted: February 19, 2019 at 3:52 pm


WorkClubGlobal

February 19, 2019 at 3:52 pm

Hi,

I’ve downloaded the Members plugin from WordPress and I’m trying to create a new user role based off the Event Administrator role that came with EE4.

Basically, I need two new user roles:
1. An Event Manager – same capabilities as the Administrator, except without all the access to other section of the WordPress backend.
2. An Event Organiser – they would only be able to edit their own events.

I’ve duplicated the users from the original Event Administrator user and it all has correct access…however…
As a Site Administrator, I’m creating all the events and would like to set the event authors to the designated users so they can then edit and receive notification of registrations, but it’s not working. In the Author dropdown I do not have the option to select the correct author. I’ve even tried just cloning the Event Administrator user directly without changing anything else and it still doesn’t show up in the dropdown. (https://i.imgur.com/HlCMbOY.png)

How can I get the new user roles to show up in the list?

Thanks


Josh

  • Support Staff

February 20, 2019 at 9:16 am

Hi,

There’s a bit of a WordPress quirk to this where the Author box looks for a deprecated capability: level_1. It appears that the Members plugin does not duplicate the deprecated level_1 capability when you duplicate the Event Administrator role.

Here are two ways around this:

1) Go to edit the user account, and check the box next to “Author” for the Roles setting. There will be two roles attached to the user account, Author + the custom Event role.

2) Use the User Role Editor plugin to add the level_1 capability to your custom event roles.


WorkClubGlobal

February 20, 2019 at 2:46 pm

Perfect, Thanks Josh. The first way worked well. One less plugin to install.

The support post ‘Switching Authors to another User Role’ 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