[ckan-dev] Dataset ownership

Ian Ward ian at excess.org
Thu Dec 17 01:48:54 UTC 2015


I don't quite understand. You want users to be able to create datasets
and upload from your Excel add-in, but not from the API or web
interface?

Having an admin account with an api key embedded in an Excel add-in is
also worrying.

Would you explain a bit more about your particular use case?


On Wed, Dec 16, 2015 at 3:33 PM, Aaron McGlinchy
<McGlinchyA at landcareresearch.co.nz> wrote:
> Hi,
>         we have developed an addin for excel that posts datasets to our CKAN repository.  Because not all individual users who use the addin have been given rights to upload data to CKAN, the addin uses a CKAN Admin account setup specifically for the purpose of uploading the data.  The down side of that is that the dataset is then owned by that Admin user, and the dataset doesn't appear on the actual individuals 'My Datasets' view.
>
> Another user has previously posted a similar problem to the CKAN listerver (https://lists.okfn.org/pipermail/ckan-dev/2014-May/007408.html) and it seemed then at least there was no simple solution other than manually editing the database?.
>
> Has there been any development since to either enable an admin to post on behalf on another user, or reassign dataset ownership without having to edit the database manually?
>
> We are considering a possible workaround, by temporarily granting the user editor rights to an organization, uploading the data using their credentials, then revoking their upload rights.  However that obviously adds a layer of complexity which we'd prefer to avoid if there is a simpler way (and presumably the underlying issue of dataset/user management is of broader interest).
>
> Thanks
> Aaron
>
> ________________________________
>
> Please consider the environment before printing this email
> Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
> The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev



More information about the ckan-dev mailing list