- πΊπΈUnited States maskedjellybean Portland, OR
If I were to create a patch it would remove the check for the existence of webform_group, but it sounds like that is not an acceptable solution. I don't think we've yet explained why the check is necessary, which would explain why removing it is not viable. In the end the question is: Why does the ability of a non Administrator user to access webform submissions depend on whether the webform_group module is enabled instead of depending on the access settings configured on the webform? It feels like an arbitrary dependency, and one that you could never discover unless you dig into the code.
- πΊπΈUnited States ccjjmartin Austin, TX
@maskedjellybean the code looks fine to me, have you tried removing that code to verify that it is the problem? Seems like if $is_group_node is FALSE (the default behavior) that the code will run the node access check.