[ckan-dev] disable user registration

David Read david.read at hackneyworkshop.com
Thu Aug 15 14:51:51 UTC 2013


@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
>




More information about the ckan-dev mailing list