Are there any plans of making a D7 Version? Or is there an alternative module which does this for 7?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | webform_submissions_acl-D7_compatible-1404896-7.patch | 14.01 KB | john.oltman |
| #4 | webform_submissions_acl-D7_compatible-1404896-4.patch | 13.66 KB | epoitras |
| #2 | webform_submissions_acl-7.x-1.x.dev_.tar_.gz | 8.31 KB | epoitras |
| #1 | webform_submissions_acl_d7.tar_.gz | 8.32 KB | epoitras |
Comments
Comment #1
epoitras commentedHere's an ugly fix I did to get it working with Drupal 7. I also added a few fixes discussed in the issue list. Was in the process of adding role based ACL when I decided I had defaced the module enough for now. I may come back to it later to finish off the role based ACL stuff.
Comment #2
epoitras commentedOops my bad, this is the one.
Comment #3
piola commentedepoitras, can you please submit your code as an official commit so that it appears on the module's landing page. I am testing it, so far did not find any issues.
Comment #4
epoitras commentedI don't have permission to submit the patch as an official commit, but here is a patch to be reviewed if Davy Van Den Bremt is still around.
Comment #5
beefheartfan commentedI did some testing on the patch today and I uncovered one issue.
If I attempted to add a user name that doesn't exist in my Drupal site I got the following error message along with the "Invalid User" error message:
Notice: Trying to get property of non-object in webform_submissions_acl_form_validate() (line 64 of C:\wamp\www\drupal7\sites\all\modules\webform_submissions_acl\webform_submissions_acl.pages.inc).
I corrected this by changing this code:
to this:
Comment #6
beefheartfan commentedDeleting users also didn't seem to work correctly for me. The $account variable was not being passed into the webform_submissions_acl_delete_confirm_form function until I made this update to the menu hook (I changed the page arguments to 4 instead of 5):
Comment #7
john.oltman commentedHere is a fresh patch that covers comments 4 through 6.