Ticket #1354 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 3 years ago

Pass the context object to plugins implementing the IPackageController and IGroupController

Reported by: amercader Owned by: amercader
Priority: major Milestone: ckan-v1.5
Component: ckan Keywords: plugins
Cc: david.raznick@… Repository: ckan
Theme: none

Description (last modified by amercader) (diff)

Plugins implementing some IPackageController or IGroupController operations (i.e. read, create, edit, delete) may need the context used in the logic action. For instance, to access the Session that created a package to perform additional queries from the extension (In that case the main logic action will still perform the final commit).

Change History

comment:1 Changed 3 years ago by amercader

  • Status changed from new to closed
  • Resolution set to wontfix
  • Description modified (diff)

There is no way to maintain backwards compatibility, so let's forget about it for now

Note: See TracTickets for help on using tickets.