Current there's no way to let a user access YAML Form submissions, without allowing them to administer the submissions, or edit the form, or both.

It would be great if there was a separate permission that could be granted, that would let a user view the submissions, download any submitted files, and export the submissions, but not alter/delete any of the submissions, or the form itself.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mandclu created an issue. See original summary.

jrockowitz’s picture

Is the "View All Yaml Form Submissions" access controls not working as expected? It is a per form setting.

Are you looking for a global 'View All Submissions' permission?

mandclu’s picture

Title: New permission: "Access YAML form submissions" » New permission: "View submissions for all YAML forms"
mandclu’s picture

You're correct, what I'm looking for is a more global permission. I updated the title to more accurately reflect this.

jrockowitz’s picture

Status: Active » Needs review
FileSize
17.57 KB

I found some minor access control issues that I also need to address.

I just want to see what tests the attached patch is going to break.

Status: Needs review » Needs work

The last submitted patch, 5: new_permission_view-2808257-5.patch, failed testing.

  • jrockowitz committed 40bb628 on 2808257-view-all-submissions
    Issue #2808257 by jrockowitz: New permission: "View submissions for all...
jrockowitz’s picture

Status: Needs work » Needs review
FileSize
20.67 KB

  • jrockowitz committed b0cf4a9 on 8.x-1.x
    Issue #2808257 by jrockowitz: New permission: "View submissions for all...
jrockowitz’s picture

Status: Needs review » Fixed

Done. Please test the latest dev release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.