Support

Home Forums WP User Integration Limiting users with specific role to read only their registration report

Limiting users with specific role to read only their registration report

Posted: July 17, 2016 at 1:59 pm

Viewing 3 reply threads


cryamerica

July 17, 2016 at 1:59 pm

Hi,

I have test site where I created a user with permission of read_registration & read_registrations set to true and read_others_registrations set to false. I created a event with that user and had some test registration.

Now when I login to wp admin and I can see only the registrations for that event in the UI but I am able to see “Export all registrations”. is it possible to show “Export per events created by me” i.e current user?

Thanks for excellent support & plugin.


Tony

  • Support Staff

July 18, 2016 at 6:33 am

Hi there,

Currently if the user does not have the read_others_registrations capability they can not export all registrations.

However they can export registrations for individual events if you give them access to their events, so then they could go to Event Espresso -> Events -> {Event name} -> Registrations and export the registration list from there, would that work?

I’ll check further if its possible to allow for the export all button for only the current user.


cryamerica

July 18, 2016 at 11:41 am

Hi,

yes user dont have read_other_registrations cap. He cannot see all of them but he can export all of them. He has read_registration & read_registrations cap and he can export of all them. There is no option to just export their registrations as csv file

Thanks


Josh

  • Support Staff

July 18, 2016 at 12:07 pm

That’s correct, currently there is no option to just export only their event’s registration as a CSV file.

You can remove the Export all registrations button for those that don’t have the ee_read_others_registrations capability by adding this code to your site:

https://gist.github.com/joshfeck/26ffd642c6485d3a8e0e

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Viewing 3 reply threads

The support post ‘Limiting users with specific role to read only their registration report’ 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