ckan/ckan — pull request #1767 by vitorbaptista (2014-06-16 22:08:49+00:00)
Title: email notifications via paster plugin post erroneously demands authentication

When calling

echo '{}' | /usr/lib/ckan/default/bin/paster --plugin=ckan post -c /etc/ckan/default.ini /api/action/send_email_notifications

the following error is returned:

Error - : Action function
send_email_notifications did not call its auth function

Server Error

Server Error

An internal server error occurred

However, when called using curl, auth-key set in header and empty json {}, the action succeeds.