davis icon indicating copy to clipboard operation
davis copied to clipboard

macOS address book owner issue

Open tiiiecherle opened this issue 3 years ago • 3 comments

Hey,

I don't know if this is a davis or a macOS issue.

In macOS it is possible to select a user in the Contacts.app and tell macOS that this contact is me. After that macOS uses the picture of this contact and sets it as login picture for my user and sets it everywhere the user picture is used.

In our current davis setup there is only one davis user that has an address book and on every mac this address book is used the same user is logged in to the carddav account.

Now if one macOS user specifies a contact to be him or her the picture for the macOS user on every mac that uses this address book changes and on every mac this selected user data used for the macOS user.

Is there a way to share an address book with another davis user like for calendars? I thought perhaps having one user that owns the address book and shares it to another user would be better and then login to the carddav account with different users on every mac.

Is our setup the recommended way for sharing an address book? If not what is the recommended way?

I hope I could explain the situation so it can be understood. If not do not hesitate to ask.

Thanks in advance

tiiiecherle avatar Jan 28 '22 21:01 tiiiecherle

Hi @tiiiecherle

CardDAV does not allow sharing for now, at least not through sabre/dav that Davis uses, so you cannot share an address book.

There is a concept of "global directory" but I have not worked on it since it's macOS-specific and complicated to implement (see https://sabre.io/dav/carddav-directory/)

If you want to give it a try, I'll happily review a PR. Best regards

tchapi avatar Jan 31 '22 08:01 tchapi

I'm not sure that the "global directory" concept is the correct way of doing this. I will leave this here as a resource for anyone who wants to investigate further: https://github.com/sabre-io/dav/issues/1014 (OwnCloud implemented sharing based on sabre/dav themselves at one point it seems. NextCloud might have as well.) Also some info here: https://github.com/sabre-io/Baikal/issues/120

holow29 avatar Jan 31 '22 17:01 holow29

Thanks for the information. It would be really nice to see this implemented in davis.

I am sorry I do not have the knowledge and programming skills to help with that. But I can help testing on macOS once there is an implementation.

Thanks a lot.

tiiiecherle avatar Feb 01 '22 08:02 tiiiecherle