[ckan-dev] Overriding validation

Pedro G Silva pedro.gracio at deimos.com.pt
Wed Feb 3 10:51:13 UTC 2016


If I'm not mistaken the settings are as follow:
ckan.auth.create_unowned_dataset = true


On Tue, Feb 2, 2016 at 10:17 PM, Mariano Falcon <mf2286 at gmail.com> wrote:

> Hello fellow members!
>
> I'm building a custom site and I'd like to allow the possibility for the
> users to create private datasets without belonging to an organization.
>
> There's a validator called
> "datasets_with_no_organization_cannot_be_private" that I'd like to override
> or just ignore, but I don't know the correct and clean way to solve this.
>
> To temporally solve it I flagged the check_passed variable to True, to
> bypass the controls, but I'd like to find a way to solve this problem
> without touching core code.
>
> Any ideas?.
>
> Thanks for your help.
>
> --
> Mariano Falcón
>
> _______________________________________________
> 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
>
>


-- 


[image: DEIMOS Engenharia, SA] <http://www.deimos.pt>
*Pedro Gracio Silva*
Aerospace Systems / Production Center

*Av. D. Joao II, Lt 1.17.01, 10 • 1998-023 Lisboa, Portugal*
Ph: +351 21 893 3020 • Fax: +351 21 896 9099
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160203/c6ee5838/attachment-0003.html>


More information about the ckan-dev mailing list