Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1358] Fix auth error on datapusher_hook
When logged in as a non-sysadmin user, you always got an error like: Process completed but unable to post to result_url This was caused by calling task_status_update, which is sysadmin only on datapusher_hook without ignore_auth in the context. We can safely add it at this point because access has been already checked. Added some tests.
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters