[turba] WebDAV Directory Layout for Global Address Books
Chuck Hagenbuch
chuck at horde.org
Tue May 6 03:13:05 UTC 2008
Quoting Ben Klang <ben at alkaloid.net>:
> I am in the process of working Horde ticket #6594 which aims to
> change the way addressbooks are laid out when viewed through WebDAV.
> Due to other requirements we will be moving per-user addressbooks
> into folders for each username. Example:
>
> turba
> |- user1
> | |- addressbook1
> | | |- contact1
> | | \- contact2
> | \- addressbook2
> | \- contact3
> \- user2
> \- addressbook2
>
> There arises, however, a question about how to handle Global address
> books. There have been two proposals:
>
> 1) Put the Global address book folders in the same level as the
> usernames. This is probably the most obvious solution but it has two
> problems:
> * First if there is ever a username that conflicts with any
> configured Global addressbook there will be a problem. The contrived
> example of this would be the user Louis Ocalsql, with the username
> 'localsql'.
> * Second it gives the Global addressbooks a slightly different URL
> schema than users because there will be one fewer layers to traverse.
>
> 2) Put the Global addressbook folders in a special folder named
> "global" or "system" or similar. The advantage here are the opposite
> of the drawbacks above. This could potentially have the same drawback
> as above (Suzie Ystem) but with just one entry it is easier to
> manage. The main disadvantage is that it then begs the question of
> whether to localize the chosen "global" folder name or not (as
> localizing it could wreak havoc with programmatic access to the data).
I vote for #2 with no localization in the path (though displayname
could be localized).
-chuck
More information about the turba
mailing list