Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to add contact to protected group from webform #2

Closed
ErikHommel opened this issue Mar 23, 2016 · 1 comment
Closed

Comments

@ErikHommel
Copy link
Contributor

At PUM Senior Experts (funding this extension) they want to protect the adding/removing of group members from within CiviCRM (from the UI) but it is allowed if an anonymous user applies as candidate expert with a webform.
The extension now stops halfway the total process of applying as an expert in the CiviCRM part because the check fails and redirects to an empty page.

@ErikHommel
Copy link
Contributor Author

Solution is to add a test if the request is from a Drupal webform, and skip test if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant