[ckan-dev] disable user registration

Vitor Baptista vitor at vitorbaptista.com
Thu Aug 15 15:24:03 UTC 2013


David, the patch is in https://github.com/okfn/ckan/pull/399, waiting for
review.

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 David Read <david.read at hackneyworkshop.com>

> @Ian Weirdly I can't find 'anon_create_user' either in master or your
> fork https://github.com/wardi/ckan/blob/master/ckan/new_authz.py#L276
>
> @Josh Super that you contributed the push request. I wonder if it
> would be even better to call it 'anon_create_user', since I imagine in
> many systems admins (not just sysadmins) should be allowed to create
> other users to be editors or admins. I guess that would suit your use
> case too.
>
> Dave
>
> On 15 August 2013 00:24, Patrick West <westp at rpi.edu> wrote:
> > I tried simply anon_create_user = false and ckan.anon_create_user =
> false,
> > and neither worked.
> >
> > Patrick
> >
> > On Aug 14, 2013, at 5:41 PM, Ian Ward <ian at excess.org> wrote:
> >
> > The permission you're looking for is anon_create_user. Yes it would be
> great
> > if it were better documented.
> >
> > On Aug 14, 2013 6:35 PM, "Dave Caraway" <dave at fogmine.com> wrote:
> >>
> >> +1 have the same question, had to use rewrite
> >>
> >>
> >>
> >> On Aug 14, 2013, at 5:54 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
> >>
> >> _______________________________________________
> >> 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
> >
> >
> >
> > _______________________________________________
> > 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/9067654f/attachment-0001.html>


More information about the ckan-dev mailing list