[ckan-dev] disable user registration

Vitor Baptista vitor at vitorbaptista.com
Thu Aug 15 13:53:34 UTC 2013


Hey Patrick, if you tried the branch and it worked for you, please add a
comment in https://github.com/okfn/ckan/pull/399. This helps whoever is
going to review it :-)

Vítor Baptista

Developer  |  http://vitorbaptista.com |
LinkedIn<http://www.linkedin.com/in/vitorbaptista>|
@vitorbaptista <http://twitter.com/vitorbaptista>

The Open Knowledge Foundation <http://okfn.org>

*Empowering through Open Knowledge*

http://okfn.org/  |  @okfn <http://twitter.com/okfn>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter/>



2013/8/15 Patrick West <westp at rpi.edu>

> This worked. Thanks!
>
> On Aug 14, 2013, at 5:42 PM, Joshua Tauberer <
> tauberer+consulting at govtrack.us> wrote:
>
>  For hub.HealthData.gov, we created this patch
>
> https://github.com/HHS/ckan/commit/0102d4d7cee9151fc5fcfe31c56c485436eddda4
>
> which makes a new config option ckan.auth. create_user which we set to
> false.
>
> It has been in pull request purgatory since then:
>
> https://github.com/okfn/ckan/pull/399
>
> Josh
>
> On 08/14/2013 06:10 PM, Stefan Oderbolz wrote:
>
> There is currently similar question on StackOverflow:
> http://stackoverflow.com/questions/18171937/ckan-prevent-user-from-auto-registering
> The provided answer describes how you can disable the registration with a
> custom extension.
>
>  Of course this is not a nice as a configuration option, but still a
> relatively low effort solution.
>
>  Hope it helps.
>
>  - Stefan
>
>
> On Wed, Aug 14, 2013 at 11:45 PM, Patrick West <westp at rpi.edu> wrote:
>
>> It is not obvious from any of the documentation how one would disable
>> user registration. Anyone can register at this point. We can't allow that.
>> I don't see anything in the production.ini file, the who.ini file. The only
>> way I can figure to do this at this point is to do a rewrite rule in the
>> apache config file to block that URL.
>>
>> Thanks,
>>
>> Patrick
>>
>>
>> _______________________________________________
>> 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 listckan-dev at lists.okfn.orghttp://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
>
>
>
> _______________________________________________
> 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/20130815/120adf0e/attachment-0001.html>


More information about the ckan-dev mailing list