[ckan-dev] CKAN 2.1 and private datasets
Luis
eltipicoemail at gmail.com
Wed Sep 4 21:29:17 UTC 2013
Hi Adrià and Stefan,
Thank you both for your replies.
@Stefan, on 2.0.1 resouces from private datasets could be previewed and
accessed through the datastore. Afaik if the datastore is enabled and the
file for the resource is stored in the datastore, then the datastore rather
than the dataproxy will be used to generate the preview. As you said, it
seems that on CKAN 2.1 to prevent that resources from private datasets are
accessed through the datastore and previewed is the expected behaviour, as
they are "private".
@Adrià, thank you, I will be keeping an eye on that issue :-)
Regards!
2013/9/4 Adrià Mercader <adria.mercader at okfn.org>
> Hi,
>
> David will probably now more about the datastore, but if I recall
> correctly the datastore was inactivated for private resources, as it
> could expose data flagged as private. Apparently this is not handled
> properly on the frontend and instead of showing a message, recline
> tries to load the table anyway. This is obviously a bug, I've created
> an issue to track it:
>
> https://github.com/okfn/ckan/issues/1221
>
> Adrià
>
>
> On 3 September 2013 13:07, Stefan Oderbolz <stefan.oderbolz at liip.ch>
> wrote:
> > Is this different on CKAN 2.0.1? If I'm not mistaken, then private
> datasets
> > are not supposed to be public. But the preview mechanism is hosted on en
> > external site, so anything you want to preview must be accessible from
> an
> > external source. In my CKAN instance the following service is used for
> the
> > preview (afaik this is the default service):
> > http://jsonpdataproxy.appspot.com/
> >
> > You can probably achieve a preview for private datasets if you use a
> > different service or host it yourself.
> >
> > - Stefan
> >
> >
> > On Tue, Sep 3, 2013 at 2:48 AM, Luis <eltipicoemail at gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I have recently updated from CKAN 2.0.1 to 2.1 and I am experiencing
> some
> >> issues with private datasets.
> >>
> >> If I create a private dataset and upload a resource (.csv) and try to
> >> preview this resource (logged as admin), the preview loading animation
> goes
> >> in to a loop and the preview is not shown (I have checked the resource
> is
> >> there and it can be downloaded). I have datastore enabled and if I try
> to
> >> make a query involving this resource I get a "Validation Error".
> >> However, if I switch the dataset to public, everything works ok (preview
> >> and datastore queries).
> >>
> >> Is this a bug or is it just me?
> >>
> >> Cheers!
> >>
> >> _______________________________________________
> >> ckan-dev mailing list
> >> ckan-dev at lists.okfn.org
> >> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>
> >
> >
> >
> > --
> > Liip AG // Feldstrasse 133 // CH-8004 Zurich
> > Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130904/568f5c10/attachment-0001.html>
More information about the ckan-dev
mailing list