Hi,
I was wondering if there's a way to limit webform submission access to users belonging to a Group? Using OG 7.2.
I also tried this using rules, but without success.
If anyone has run into this and figured it out, I'd be grateful for an assist.
Thanks!
Comments
Comment #1
sheldonkreger commentedI'm actually working on the same situation right now. I'm going to implement hook_webform_access() as well as some custom code to verify that users are a member of an Organic Group.
I'm hoping to build this generically enough to submit a patch to the OG module. hook_webform_access() is sufficient enough for the Webform module, I believe.
Comment #2
quicksketchYes, there's a module for that. ;)
https://drupal.org/project/og_webform
Be warned I think it only works for OG 1.x at this point. There are open issues on fixing it for OG 2.x.