[ckan-dev] delete user
Fabrizio Fornari
ckanappoggio at gmail.com
Thu Apr 24 14:03:39 UTC 2014
Thank you for the explanation!
On Thu, Apr 24, 2014 at 2:12 PM, Nigel Babu <nigel.babu at okfn.org> wrote:
> The reason is that ckan saves history and has activity streams. The
> activity stream points to users. If you just delete a user, that destroys
> the history. This is why we have delete and purge functions for most
> actions.
>
> Nigel Babu
> Developer, Open Knowledge
>
>
> On 24 April 2014 16:55, Fabrizio Fornari <ckanappoggio at gmail.com> wrote:
>
>> Hi Nigel,
>>
>> I created an Issue https://github.com/ckan/ckan/issues/1668.
>>
>> But I was wondering why you decided to mark an user as deleted instead of
>> completely removing it. The point is that in this case if a user will be
>> deleted none can use the same username again.
>>
>>
>> On Thu, Apr 24, 2014 at 9:43 AM, Nigel Babu <nigel.babu at okfn.org> wrote:
>>
>>> This is because deleted users are not completely deleted from the
>>> database. The state is marked as deleted. However, you're right. We should
>>> either not show users in deleted state or show the state when `paster user`
>>> is called from the command-line. Can you file a bug for this?
>>>
>>> Nigel Babu
>>> Developer, Open Knowledge
>>>
>>>
>>> On 23 April 2014 19:03, Fabrizio Fornari <ckanappoggio at gmail.com> wrote:
>>>
>>>> Hi guys,
>>>>
>>>> I am running ckan 2.2 and I deleted an user using the command :
>>>>
>>>> "paster user remove user_name -c /etc/ckan/default/production.ini"
>>>>
>>>> this, removes the user from the list shown at the page
>>>> myckanaddress/user but if I do "paster user list -c
>>>> /etc/ckan/default/production.ini", the user that I deleted is still there.
>>>>
>>>> What can cause this behaviour?
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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/20140424/2e8ca420/attachment-0003.html>
More information about the ckan-dev
mailing list