[ckan-dev] Delete a user
Denis Zgonjanin
deniszgonjanin at gmail.com
Fri Jan 16 14:33:02 UTC 2015
I don't think there's an easy way to do it.
For all your purging needs, you could use the shell. Example:
paster --plugin=pylons shell
> from ckan.model import User
> model.Session.delete(User.get('username'))
> model.Session.commit()
On Fri, Jan 16, 2015 at 8:51 AM, Dan Mihaila <danmihaila at gmail.com> wrote:
> Hello,
> I searched into the documentation (2.2) and tried different solutions
> (user interface, api, paster) to delete an user. I noticed that the user is
> only marked as deleted. Is it there a way to actually "purge" an
> deleted/not active user? I know that this is possible for groups.
>
> Thanks,
>
> *Dan Mihaila*, IT Consultant
> (M) +40 722 502 304 • (GTalk) dan.mihaila at gmail.com • (Skype) carcotelul
> • (Yahoo) carcotelul
> <dmihaila at dginternational.org>
>
> _______________________________________________
> 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/20150116/604861f0/attachment-0003.html>
More information about the ckan-dev
mailing list