[ckan-dev] adding users through the admin interface
Aníbal Pacheco
anibal.pacheco at agesic.gub.uy
Wed Mar 19 18:09:26 UTC 2014
Hello, we can create users from the web at /user/register using an
Administrator account and the beginning of this patch[0] (only
ckan/controllers/user.py modified). And it's very useful for us.
Cheers!
[0]
http://git.agesic.gub.uy/agesic-arquitectura/ckanext-agesic/blob/master/ckan.patch
On 18/03/14 10:34, Vitor Baptista wrote:
> Hi Augusto,
>
> Yeah, it shouldn't be difficult. You could probably reuse the user
> invitation for organizations as well. If you're willing to give it a try
> some time, create an issue in GitHub and ping me there.
>
> Cheers,
>
>
> 2014-03-17 22:56 GMT-03:00 Augusto Herrmann <augusto.herrmann at gmail.com
> <mailto:augusto.herrmann at gmail.com>>:
>
> 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 <mailto: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 <mailto: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 <mailto: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 <mailto:ckan-dev at lists.okfn.org>
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org <mailto: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
>
More information about the ckan-dev
mailing list