Ticket #877 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

File upload in WUI (extension)

Reported by: rgrp Owned by: rgrp
Priority: critical Milestone: ckan-v1.4-sprint-2
Component: DGU Keywords:
Cc: Repository:


Support uploading files to a storage system from WUI with a simple upload form.


  • Implement as an Extension
  • Locate at /upload
  • Add new system action/permission (FILE_UPLOAD) and restrict by default to logged in users
  • Use OFS + boto -> generate form key (and create the bucket if it doesn't exist? Or do we assume bucket already exists)
  • This wants to be tied in to general package workflow. See parent ticket:852.

Change History

comment:1 Changed 3 years ago by rgrp

  • Component changed from ckan to ckanext

comment:2 Changed 3 years ago by rgrp

  • Milestone ckan-v1.3-sprint-2 deleted

comment:3 Changed 3 years ago by rgrp

  • Summary changed from File upload in WUI to File upload in WUI (extension)

comment:4 Changed 3 years ago by rgrp

  • Owner changed from wwaites to rgrp
  • Milestone set to ckan-v1.4-sprint-2

Basic pass on an implementation (no permissions yet etc): https://bitbucket.org/okfn/ckanext-upload/changeset/9ae543f0645f

comment:5 Changed 3 years ago by rgrp

  • Status changed from new to closed
  • Resolution set to fixed

Various tidying in https://bitbucket.org/okfn/ckanext-upload/changeset/0fad7aa7aa97 (success messages, permissions on uploaded file - public-read) and completed permissions in https://bitbucket.org/okfn/ckanext-upload/changeset/a83ce00a1266.

Still need to integrate into general workflow (e.g. create a Resource on successful upload) but that is a separate item so this ticket is now done.

Note: See TracTickets for help on using tickets.