Support

Home Forums Event Espresso Premium Regional separation for users

Regional separation for users

Posted: October 29, 2015 at 8:22 am

Viewing 5 reply threads


Erica Vandiver

October 29, 2015 at 8:22 am

In EE3, we could assign a region/locale to a user, and they would be able to see/edit only their own region’s events. How can I accomplish this separation in EE4?


Josh

  • Support Staff

October 30, 2015 at 6:20 am

Hi Toni,

There’s a built-in capabilities system in Event Espresso 4 that you can use along with a plugin like User Role Editor to restrict user accounts so they can only read and edit their events. It’s built on and works much like WordPress’s user system where you can set up roles to only allow editing their own posts and pages. There’s some more information in this wiki:

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

A few of the capabilities you’ll unset for those user roles/accounts include ee_read_others_events and ee_edit_others events, and there are more to allow for finer control over who does what.


Erica Vandiver

October 30, 2015 at 6:32 am

I am looking for the capability to have users view and edit their region’s events, which includes their events and events from other users in their region, but not regions they don’t belong to.


Josh

  • Support Staff

October 30, 2015 at 10:47 am

Hi Toni,

This sounds like something that could be accomplished with some custom development, as regions are not something included out of the box in Event Espresso 4. Here’s a link to some documentation in the developer portal that gives an overview of how to extend Event Espresso’s capabilities system:

http://developer.eventespresso.com/docs/ee-capability-system-overview/


Erica Vandiver

October 30, 2015 at 10:57 am

OK. So basically we need to either (A) use a token for custom development or (B) install Members or some similar plugin and code the capabilities via the API?


Josh

  • Support Staff

October 30, 2015 at 11:15 am

Hi Toni,

Option a isn’t really an option because we do not generally do custom development for tokens. Instead I can recommend contacting one of the developers listed on this page for a quote:

https://eventespresso.com/developers/event-espresso-pros/

Viewing 5 reply threads

The support post ‘Regional separation for users’ 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