Support

Home Forums Pre-Sales Espresso Permissions Basic Capabilities – Read-only?

Espresso Permissions Basic Capabilities – Read-only?

Posted: July 18, 2018 at 7:31 am


icl

July 18, 2018 at 7:31 am

Pre-sales question regarding the Espresso Permissions Basic plugin (https://eventespresso.com/product/espresso-permissions-basic/). We have event staff who need read-only access to registrant information. With this plugin, is it possible to have a user role be able to view attendee information and question answers without edit permissions?


Josh

  • Support Staff

July 18, 2018 at 8:01 am

Hi,

That particular plugin does not have that feature set, and it actually isn’t compatible with Event Espresso 4 anyway.

It is possible to have a user role be able to view attendee information and answers without edit capabilities with Event Espresso 4 though. That’s because there’s a built-in capabilities system.

If you’re familiar with editing WordPress user role capabilities, you follow this guide:

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

In a nutshell, you’ll remove all _edit_ related capabilities, or grant the _read_ capabilities related to Event Espresso for that user role.


icl

July 18, 2018 at 8:40 am

Thanks! Did some testing with this, and registration form answers aren’t showing up for the restricted user. Only registration status, registration details and contact details. In screen options, there is no “Registration Form Answers” box to check.

Which capability is this tied to? I have all ee_read_ capabilities enabled for the role type.


Josh

  • Support Staff

July 18, 2018 at 12:16 pm

I looked and as it stands right now the Registration Form Answers meta box is tied to ee_edit_registration. The reason being is there are links to edit the answers.

I’ve put in a pull request to change that up a bit so the box itself will only require ee_read_registration, and then make the edit links require
ee_edit_registration.

I’ll let you know when that pull request gets merged into core. Once it’s merged that means it will be in the next update release of EE4.


icl

July 18, 2018 at 12:33 pm

Thanks!

Along those lines of a pull request, when the role only has read permissions, the Registration Status box still has the dropdowns and update button. They won’t work (no permission for the route), but it would be nice for only the Current Registration Status to show, and not the additional form fields.


Josh

  • Support Staff

July 18, 2018 at 5:18 pm

We’ll see what we can do with that part!

The support post ‘Espresso Permissions Basic Capabilities – Read-only?’ 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.

Considering Event Espresso for a new project? Tell us more through our contact page.

Status: closed

Updated by  Josh 1 year, 1 month ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!