Hi Patrick
Aleksander Adamowski schrieb:
The initial/refresh syncs are of particular interest as they are
supposed to cause a DB cleanup on the server side initially. Of course
this does not work well with systems where data (such as contacts etc.)
may be shared and owned by different users.
What I am asking today is if some of you have ideas on how such things
should be handled and what the expected behaviour should be.
I thinke the most reasonable logic initially woule be to only consider
contacts the user is the owner/creator of.
Why not simply use the current ACL: if the user has the right to delete
and entry, it get deleted in the initial one-way-sync. If he has no
rights to do that, you have to ignore it.
For calendar and Infolog items thins get more complex, especially WRT
invitations.
I think a delete of an (only) invited user should be treated as
rejection of the meeting. That should work well, as rejected meetings
can be disabled from being returned by bocal::search(), so it would work
like a delete.
If a user gets invited to a meeting, this should definitely get synced
down to his device, even if he didn’t accept the meeting yet. However,
there’s a list of invited people over there, most/all people likely
wouldn’t be in the personal address book (as the users of the same
eGroupWare system they would be in the “accounts” address book, which
isn’t synced).
I think the only solution for that is, to allow a further type of
participant (beside accounts and contacts), which is only identified by
it’s mail address. That means this mail address needs to get stored in
egw_cal_user AND need to be part of the primary key their.
We also need that non-contact participant for iCalServer, GroupDAV and
CalDAV.
Ralf
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft® Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers