[sync] syncing turba contacts. History issues

Chuck Hagenbuch chuck at horde.org
Mon Mar 27 12:50:38 PST 2006


Quoting Karsten Fourmont <fourmont at gmx.de>:

> Currently there's no way to ask the history "give me all entries that
> have been added to source "localldap", because the source is not stored
> in the history.
>
> That one itself would be easy to rectify. However for turba things are
> difficult due to turbas flexibility: entries of a source can be shared
> by all users (like localldap) or private to the owner (like default
> localsql configuration). This configuration is done in the "strict"
> section of conf/sources.php.

No, strict has nothing to do with who can see the entry.

> I have to think about this. Seems to be a major problem. Suggestions are
> welcome.

Seems to me like the "owner" of the entry in the history log should be  
the source id of the turba source it comes from, not the  
Auth::getAuth() value. Keys should be unique on a per-source basis.  
You'd need to make sure the user had permissions to see everything  
that came back, but with the new shares setup, that shouldn't be that  
hard.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the sync mailing list