Support

Home Forums Event Espresso Premium Restricted user account to access EE4, not the rest of the WP website?

Restricted user account to access EE4, not the rest of the WP website?

Posted: August 24, 2015 at 9:03 am

Viewing 1 reply thread


tony borden

August 24, 2015 at 9:03 am

Hello!

I enjoy using EE4 and think it will be a great fit for our org. I am the system admin and I have other staff who will want to access EE4 to add/edit events and check registrations, etc. However, I do not want them to have access to the other Admin areas of WP like settings, tools, users, plugins, appearance, etc. It seems that EE4 is only accessible by WP Admins, is that correct?

Is there any way to allow access of EE4 to users at the “Author” or “Contributor” or “Editor” level?

Thanks,
~Tony


Tony

  • Support Staff

August 24, 2015 at 12:59 pm

Hi Tony,

We use capabilities to allow/deny access to various sections within Event Espresso.

There is roughly 130 different capabilities built into core and you can assign these capabilities to any role you like. By default only the Administrator role has the capabilities assigned to it, but you can use a plugin such as Members, User Role Editor (or any other role editor capable of assigning capabilities to roles) to add the ‘ee_’ caps to any role.

OR

You can create custom role(s), assigning whichever capabilities you prefer to that role and then assigning that role to the users.

For example, take a look here:

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

That plugin creates 2 custom roles on activation, ‘Event Organizer’ and ‘Events Manager’.

Event Organizers should only have access to Events they created or registrations/transactions assigned to their events.

Events Managers have full access to Event Espresso and can make any changes an Administrator can within EE.

Both those roles are based on ‘subscriber’ roles so they have very limit access to the WP Admin, however again, you can always assign further capabilities to these roles to make these match ‘Editors’ etc (leaving the original WP roles as they are)

Here is that gist packaged up into a zip file that can be installed – http://take.ms/DDkyo

Note that the above is intended as an example of how to setup capabilities, it may not suit all use cases.

Does that help?

Viewing 1 reply thread

The support post ‘Restricted user account to access EE4, not the rest of the WP website?’ 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