Support

Home Forums Event Espresso Premium Roles + Permissions Pro Support

Roles + Permissions Pro Support

Posted: August 2, 2014 at 1:18 pm


Gary Formisano

August 2, 2014 at 1:18 pm

Hello,

My goal is to only allow event owners to see events. Therefore if 3 events are going on, a specified user is only allowed to view/check in people for his event. We don’t want the user to create the event. We want to create the event and to set the user as the owner afterward.

I’ve follow this thread: https://eventespresso.com/topic/limiting-event-editing-to-the-creator-of-that-event/ , which has led me to purchase the roles and permissions pro add-on.

I’ve followed Josh’s 2nd response in this thread:
https://eventespresso.com/topic/what-capabilities-are-needed-for-an-ee-ticket-scanning-app-user/ , which has led me to update the specified value in the table to change the ID of the creator to a different creator. When we updated this, we saw in the admin panel that the creator was the user specified (whose account was set to Event Admin).

We were able to login to the app with this user(on IOS), but after logging in and viewing the event, we received this error: “Check-In Failed! The operation couldn’t be completed. [Cocoa error 3840.]”

Looking forward to your response.

Sincerely,
Gary Formisano


Lorenzo Orlando Caum

  • Support Staff

August 4, 2014 at 8:08 am

Hi,

Are you seeing this error with any other logins for the site?


Lorenzo


Gary Formisano

August 4, 2014 at 10:18 am

Hello,

We see this error for all test users that we assign Event Admin only after making them event owner by the database change previously mentioned. The Cocoa error message will appear once for each event they are assigned owner by the database change.

Sincerely,
Gary


Josh

  • Support Staff

August 4, 2014 at 3:55 pm

Hi Gary,

I’ll re-post the part of my answer in the other thread with some added emphasis:

This is possible, but it requires the Roles and Permissions Pro add-on. The Roles and Permissions Pro add-on adds an “Event Manager” role. Once R&P Pro is installed, you go to Event Espresso > User Permissions and set the Minimum Page Permissions for Event/Attendee Listings Page to Event Manager. Then save.

Along with that, the user roles that you want to have access to specific events should be changed to Event Manager.


Gary Formisano

August 4, 2014 at 5:30 pm

Hi Josh,

I’ve done specifically what you have said.

The user “TestUser” was created as an Event Manager user.

Also, the user permission was updated to allow event manager to view the Event/Attendee Listings Page.

Sincerely,
Gary


Gary Formisano

August 4, 2014 at 8:05 pm

For Clarity: I’ve done the steps above before updating the data in the database to make the user “event admin”


Josh

  • Support Staff

August 5, 2014 at 7:14 pm

Hi Gary,

Can you let me know if there’s an error displayed in the app and the error message when you try to scan a ticket with one of the Event Manager accounts?


Gary Formisano

August 6, 2014 at 11:53 am

Hi Josh,

The Cocoa error mentioned above happens at time of check-in. When either we scan, or manually check in a user using the methods provided above, we get this error message:
“Check-In Failed! The operation couldn’t be completed. (Cocoa error 3840.)”

Maybe there is an extra role that needs turned on for the event manager permission to allow checking in users?

Also, just FYI, on the app, when scanning in a user, it says “Atendee Name”. “Atendee” is spelled wrong. Not sure if that is a misspelling in the app or if we accidentally dropped a “t” in some configuration somewhere.

Sincerely,
Gary Formisano


Josh

  • Support Staff

August 7, 2014 at 9:47 am

Hi Gary,

Here are the settings that can affect this issue you’re seeing:

In Event Espresso > User Permissions, the Event/Attendee Listings Page setting should be set to “Event Manager”.

Then, in Event Espresso > User Roles, the espresso_event_manager role should have espresso_event_manager checked.

There is another setting that could be changed and it is in the JSON API settings where it lets you set “Show API Users Data They Can’t Edit” to yes or no. That probably wouldn’t make a difference here, but you’ll want to set that to your preference.

Along with that, can you try installing this copy of the Espresso JSON API plugin instead of the one you have right now? You’ll need to deactivate the copy that’s installed right now before you install and activate this one.

The above copy adds a slight adjustment to the API’s that should prevent an error occurring under some circumstances. Using this copy may help with the issue you’re seeing in the other thread where the iOS app works, but the Android app does not.


Gary Formisano

August 7, 2014 at 4:46 pm

Hi Josh,

We have taken your suggestions and this older API did resolve some of the issues we were facing.

We ARE able to check people in now. But, we get a similar error after initial load (Cocoa error). It pops up once. It says “no events”. Then when we swipe down to reload the events pop up.

How can we get rid of this “no events” error?

I’m beginning to think that the errors(S5 and this error) may be connected, so I’ll just reply on this thread.

Sincerely,
Gary Formisano


Josh

  • Support Staff

August 8, 2014 at 7:46 am

Hi Gary,

Does it say no events if you’re logged in as a WP admin? Along with that, is this happening on both apps or just one of them?


Gary Formisano

August 23, 2014 at 5:09 pm

Hi Josh,

I think an update to the app resolved both issues I was facing.

Thank you guys for the great support. It is very much appreciated.

Sincerely,
Gary

The support post ‘Roles + Permissions Pro Support’ 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