[ckan-dev] Overriding validation

Mariano Falcon mf2286 at gmail.com
Tue Feb 2 22:17:38 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160202/ca0313fc/attachment-0002.html>


More information about the ckan-dev mailing list