Support

Home Forums Event Espresso Premium Event Admin Role Permissions

Event Admin Role Permissions

Posted: March 14, 2017 at 10:19 am


edagunay

March 14, 2017 at 10:19 am

Hello! I have modified a copy of the Event Administrator role (renamed Event Manager role) to restrict its access to read, edit and delete all permissions marked “others”.

Is there a way to ensure users with this role cannot see the transactions of other event managers? Completely restricting their capabilities to only be able to access their own events’ info (with the exception of reading something like others’ default tickets) is what I want to do. (similar project mentioned in this thread by Tony Warwick.)


Lorenzo Orlando Caum

  • Support Staff

March 14, 2017 at 1:00 pm

Hello,

The capabilities system for Event Espresso 4 can help with that:

https://eventespresso.com/wiki/event-espresso-4-roles-permissions/

This Google sheet has the various capabilities:

https://docs.google.com/spreadsheet/ccc?key=0Al0RhqTD8pDfdEhtcFhLdW9rTFdPOWtrODh3d1QyN1E&usp=sharing

Lets say you wanted a specific user with a specific role (e.g. author) to be able to create and edit their own events. These capabilities would be needed and you could use a free WordPress plugin like Members from Justin Tadlock to add the capabilities:

ee_read_event
ee_read_private_events
ee_read_events
ee_edit_event
ee_edit_published_events
ee_edit_private_events
ee_edit_events

They would not be able to edit other events because they do not have access to the following:

ee_edit_others_events

If you wanted to grant the user access to editing events that they have not created, then the above capability would be needed as well.


Lorenzo


edagunay

March 14, 2017 at 1:05 pm

Thanks for the response, Lorenzo! I’ve tried to change these permissions using a WP-Users plugin. After further testing of these options I’ll come back here to confirm that I can do everything I need with these options.

-Chris


edagunay

March 16, 2017 at 12:46 pm

Hey, Lorenzo! At this point I cannot use the event administrator role to do anything – it does not work to edit or create ANY posts. I think it is due to a dependency issue with the theme I am using – will check on that and come back here.


Garth

  • Support Staff

March 16, 2017 at 4:56 pm

If needed, you can also reset the Event Espresso capabilities back to the defaults by going to: Event Espresso > Maintenance > Reset/Delete Data and click the “Reset Event Espresso Capabilities” button.


edagunay

March 17, 2017 at 4:57 am

Good morning Garth,

After clearing the cache, deactivating and reactivating all plugins and resetting EE capabilities (in that order), the event admin users still can’t access the EE dashboard.

The following error is shown:

you do not have sufficient permissions to access this section.

Any ideas why this might be appearing?


Lorenzo Orlando Caum

  • Support Staff

March 17, 2017 at 9:21 am

Hi Chris,

Are you wanting them to edit a WordPress page / post or just create their own events? It should work for making changes to their own events.

Could you share a screenshot (https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots) of the capabilities that you set?


Lorenzo


edagunay

March 17, 2017 at 10:08 am

Hey Lorenzo,

Here are the two screenshots of the permissions that the ee_event_administrator role currently has.

Does this look right? None of the EE dashboards work for the event admin users that I have created.

Best,
Chris


edagunay

March 17, 2017 at 1:34 pm

Hey Lorenzo!

For further context: I want the event admins only to be able to access and their own events, but not to be able to publish them or edit others admins’ events. Basically I want them to have full control over their own event settings in EE, of creating or editing events/ticketing options/collecting payment, but to require an admin to approve the events before they are actually published.

The event admins are really event managers for other companies, venues etc. and the website owner will be charging them to post on the website.

Best,
Chris


Tony

  • Support Staff

March 22, 2017 at 6:57 am

Hi Chris,

Event Espresso is designed to be used by a single organization for their own events rather than an ‘event marketplace’ type of setup, its possible to set it up to work how your requesting but isn’t something we support out of the box and will likely require further customizations than just the capabilities (depending on how in-depth you want to go)

The roles created using the plugin I posted in the other thread (http://take.ms/WcoqG) provide most of the functionality you have requested above with the execption of publishing the events.

From your initial reply it looks like you’ve gone over these, can I ask why you can’t use those and edit the capabilities on the Event Manager role?


edagunay

March 23, 2017 at 5:39 am

Good morning Tony,

Thanks for the response. The issue I am having is that the permissions are not working correctly – with the default EE user capabilities restored, users with the Event Administrator role are unable to access the EE dashboard (create/edit events, add venues, etc). In another role, I already edited the capabilities using the User Role Editor plugin to reflect the capabilities I would like the user to have, but users with this role are also unable to access the EE dashboard.


Tony

  • Support Staff

March 23, 2017 at 7:16 am

Are you sure you have all of the default capabilities?

The above screenshots do not.

I use the the Event Administrator role on multiple test sites during testing, as do most of the support team so either there is still at least one capability missing on the role or something is hooking in and overriding the capability check somehow.

In another role, I already edited the capabilities using the User Role Editor plugin to reflect the capabilities I would like the user to have, but users with this role are also unable to access the EE dashboard.

Is that role based on the Event Administrator role or one of mine?

The support post ‘Event Admin Role Permissions’ 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