[horde] horde-remove-user-data does not delete data from horde_histories
Michael J Rubinsky
mrubinsk at horde.org
Thu Jun 18 15:16:46 UTC 2020
Quoting Michael Menge <michael.menge at zdv.uni-tuebingen.de>:
> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>
>> Quoting Michael Menge <michael.menge at zdv.uni-tuebingen.de>:
>>
>>> Hi,
>>>
>>> i have discovered that deleting a user with horde-remove-user-data does not
>>> remove entries from the horde_histories table.
>>>
>>> I understand that the data may be needed if it is reladed to a
>>> shared addressbook, kalendar ...
>>> that still exists. But IMHO deleting a share should delete related
>>> entries in horde_history.
>>
>> If you were to just delete the share and all of it's history
>> entires when the share is deleted, any synchronized clients would
>> never have the data removed. Instead, each individual object from
>> each share must be deleted individually so the history table can
>> log the deletion.
>>
>>
>
> Thank you for the information. But i think there is a flaw.
>
> There are IMHO two cases. the user deletes the share, and the user
> is deleted:
> I will begin with the second
>
> 2. If the user is deleted the user is unable to authenticate/synchronize
> and any other user that might have had access to the share will have
> lost it, as the entriy in *_sharesng and *_shares_users are deleted
> with the share
The point is not in having access to the information any more, the
point is in having the data removed from the user's synchronized data.
> 1. If the share is deleted by the user the synchronizing would/should
> fail as the ownership/permissions for the share cannot be resolved.
>
> So your argument that "any synchronized clients would never have the
> data removed"
> is true with and without the data in horde_histories.
I see what you are saying, and I'll have to verify the logic during
these operations (at least in ActiveSync).
>
>
> --------------------------------------------------------------------------------
> M.Menge Tel.: (49) 7071/29-70316
> Universität Tübingen Fax.: (49) 7071/29-5912
> Zentrum für Datenverarbeitung mail:
> michael.menge at zdv.uni-tuebingen.de
> Wächterstraße 76
> 72074 Tübingen
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20200618/8b97c22c/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20200618/8b97c22c/attachment.sig>
More information about the horde
mailing list