[ckan-dev] adding users through the admin interface

Augusto Herrmann augusto.herrmann at gmail.com
Tue Mar 18 01:56:38 UTC 2014


Hi, Vitor!

Thanks for the explanation.
We shall keep using paster for that purpose, then; I don't suppose creating
users from the sysadmin interface should be too hard to implement in a
future version of CKAN, though.

Best,
Augusto


On Fri, Mar 14, 2014 at 10:43 PM, Vitor Baptista <vitor at vitorbaptista.com>wrote:

> Olá Augusto,
>
> You can invite users to an organization by going into its members' list.
> As far as I know, the only other way to add a user is by using paster
> commands. There's no way to set up a sysadmin from the web interface as
> well (just using paster).
>
> The UserController.new method isn't disabled: it's used by
> UserController.register. I don't know why this was done this way, though,
> as .register is simply delegating to .new.
>
> Thanks! You found a bug in our docs. We can delete users since CKAN 2.2. I
> created an issue to fix it at https://github.com/ckan/ckan/issues/1602.
>
> Cheers,
>
>
> 2014-03-13 15:05 GMT-03:00 Augusto Herrmann <augusto.herrmann at gmail.com>:
>
>> Hi,
>>
>> is it possible to add users as a site admin through the web interface in
>> CKAN 2.2? The documentation doesn't mention it the "managing users" section
>> [1] <http://docs.ckan.org/en/latest/sysadmin-guide.html#managing-users>.
>> But I see a controller for this in the code [2]<https://github.com/ckan/ckan/blob/ckan-2.2/ckan/controllers/user.py#L151>,
>> but no route assigned to it [3]<https://github.com/ckan/ckan/blob/ckan-2.2/ckan/config/routing.py>.
>> Was it a feature intentionall left disabled?
>>
>> Also, the documentation mentions you can't delete users through the
>> interface, but surprisingly I was able to do it.
>>
>> [1] http://docs.ckan.org/en/latest/sysadmin-guide.html#managing-users
>> [2]
>> https://github.com/ckan/ckan/blob/ckan-2.2/ckan/controllers/user.py#L151
>> [3] https://github.com/ckan/ckan/blob/ckan-2.2/ckan/config/routing.py
>>
>> Best regards,
>> Augusto Herrmann
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
>
> 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/>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140317/86f14977/attachment-0003.html>


More information about the ckan-dev mailing list