Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
I have a role named "School" which has following Webform permissions:
Access the webform overview page
Access webform submission log
Delete own webform submission
Edit own webform
Edit own webform submission
View own webform submission
With this configuration, this user see all of his webforms on admin/structure/webform and he can see all submissions and edit the webform.
However, If I uncheck "Edit own webform" permission, a user of this role stops seeing any of it's own webforms. But I consider he should see them anyway because he has permission to see the submissions of it's webforms.
Comment | File | Size | Author |
---|---|---|---|
#2 | user_should_be_able_to-2919726-2.patch | 835 bytes | rcodina |
| |||
without_edit_own_webform_permission.png | 18.54 KB | rcodina | |
with_edit_own_webform_permission.png | 22.94 KB | rcodina |
Comments
Comment #2
rcodina CreditAttribution: rcodina commentedI upload a patch that fixes the bug.
Comment #3
rcodina CreditAttribution: rcodina commented@jrockowitz The problem is that operation "submission_view_own" is never called. My patch is just a workaround but I'm sure that with this information I provide you can do a proper fix. Thanks!
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented