[ckan-discuss] datastore_search_sql
Adrià Mercader
adria.mercader at okfn.org
Mon Dec 9 17:47:43 UTC 2013
Sorry Francesco,
you are absolutely right, p.toolkit.auth_allow_anonymous_access is not
available on 2.1.x
I'll push a fix ASAP
Adrià
On 9 December 2013 16:44, Adrià Mercader <adria.mercader at okfn.org> wrote:
> Hi,
>
> This has now been merged into master and the new 2.1.2 branch [1]
>
> Francesco, not sure why you needed to remove the decorator. You will
> need it if you want non-logged in users to be able to query the
> datastore.
>
> Adrià
>
>
> [1] https://github.com/okfn/ckan/tree/release-v2.1.2
>
> On 9 December 2013 13:00, Francesco Salvadore <f.salvadore at cineca.it> wrote:
>> Hello,
>>
>> I just had to delete the decorator in logic/auth.py:
>> @p.toolkit.auth_allow_anonymous_access
>>
>> and it seems to work properly in CKAN 2.1,
>> I hope I did it correctly,
>>
>> thanks a lot for the great support!
>> Francesco
>>
>> ----- Original Message -----
>> From: "Henrik Aagaard Sørensen" <BU1G at tmf.kk.dk>
>> To: "David Raznick" <david.raznick at okfn.org>
>> Cc: "Francesco Salvadore" <f.salvadore at cineca.it>, "CKAN Development Discussions" <ckan-dev at lists.okfn.org>, "CKAN discuss" <ckan-discuss at lists.okfn.org>, "joel natividad" <joel.natividad at ontodia.com>
>> Sent: Monday, December 9, 2013 12:12:11 PM
>> Subject: SV: [ckan-discuss] datastore_search_sql
>>
>> It does seem to fix the issue at our installation :)
>> _______________________________________________
>> ckan-discuss mailing list
>> ckan-discuss at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-discuss
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
More information about the ckan-discuss
mailing list