Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow chaining off core actions#4509

Merged
wardi merged 2 commits into
ckan:masterfrom
alycejenni:chain-core-actions
Mar 28, 2019
Merged

Allow chaining off core actions#4509
wardi merged 2 commits into
ckan:masterfrom
alycejenni:chain-core-actions

Conversation

@alycejenni
Copy link
Copy Markdown
Contributor

Attempt to find an action from another plugin first, but failing that, override from the core actions.

Proposed fixes:

Similar to #4491, but for actions rather than auth functions. Allows plugins to override actions defined in the core CKAN logic.

I've added a small test in the test_chained_action.py file in the datastore tests just because it seemed like the most relevant place to put it without creating a new file; let me know if I should move it!

Features:

  • includes tests covering changes
  • includes updated documentation
  • includes user-visible changes
  • includes API changes
  • includes bugfix for possible backport

Please [X] all the boxes above that apply

Attempt to find an action from another plugin to override first, but failing that, override from the core actions.
@kmbn kmbn added the Awaiting tech team feedback This PR or issue needs feedback from the tech team. label Jan 24, 2019
@wardi wardi merged commit c87d021 into ckan:master Mar 28, 2019
@amercader amercader removed the Awaiting tech team feedback This PR or issue needs feedback from the tech team. label Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants