[ckan-discuss] Query about DataStore API - datastore_search_sql, API key of sysadmin required
adria.mercader at okfn.org
Wed Sep 11 10:09:03 BST 2013
That is bizarre, authorization for datastore_search_sql depends on the
resource_show one, which in turn depends on package_show. Ie if the
dataset is public you should not need an API key at all as everybody
can see public datasets.
Perhaps an auth setting in your extension or a configuration setting
is not working as expected?
On 10 September 2013 15:05, Joel Natividad <joel.natividad at ontodia.com> wrote:
> Hi Folks!
> Looking forward to OKCon. Sami and I are both ready and have even figured
> out how to multiplex the different tracks next week :)
> As luck would have it, we're also launching the a CKAN portal next week for
> one of our clients.
> We've assembled a localized tutorial using their cleaned, normalized, linked
> However, it seems that we can't do datastore_search_sql call unless the API
> key is that of a sysadmin. When we use an API key for a "normal" CKAN user,
> I get an authorization error.
> And yes, we did check that the datasets are public.
> Any hints?
> Joel Natividad
> +1 347-565-5635
> Ontodia, Inc.
> 137 Varick Street, 2nd Floor
> New York, NY 10013
> pediacities.com * nycpedia.com
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
More information about the ckan-discuss